• alimann

    (@alimann)


    Hello all,

    I’m just wondering if it’s possible to have 1 kind of background for posts on main page and have different background for all pages. not seperat but all pages to have same background… and all posts displayed on main to have different background.

    please all help is apprisiated.

    the-enclave.net

Viewing 4 replies - 1 through 4 (of 4 total)
  • esmi

    (@esmi)

    This is possible if you can use add or amend the CSS in your theme’s stylesheet.

    CSS Tutorials
    Learning CSS

    Thread Starter alimann

    (@alimann)

    yes i’m using CSS in my theme. But my problem is when i do changes in CSS they apply both on posts and pages.

    esmi

    (@esmi)

    You many need to amend your theme’s header.php template file to make use of the body_class() function so that you can target CSS more accurately.

    Thread Starter alimann

    (@alimann)

    im not sure i know how to do that …

    i did try but i failed. Could i ask you if you have time that is to take this step by step with me… ?

    thanks a lot.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Different background on posts and pages’ is closed to new replies.