• hey,
    i searched , but couldnt find what i was searching for. so…if you know a thread where this was answered…
    i want to have an background image on my home, which is a page assigned to home and another on all other cases.

    ..and… im a php noob…
    thanks
    kns

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey buddy, I have exactly the same question – did you find out how to do it? I have used the traditional way of setting the main background through appearance settings but I want a different background on a few different pages… H

    I used by brain:

    COPY & PASTE THIS CODE INTO THE HTML EDITOR OF THE PAGE YOU WISH TO CHANGE THE BACKGROUND IN. THIS WILL NOT EFFECT YOUR OTHER PAGES AND THIER DEFAULT BACKGROUND:

    <?php if (is_page(‘PAGEINQUESTION’) ):
    // PAGEINQUESTION>
    <style type=”text/css”>
    body {background-image:url(PASTE THE FULL WEB LINK FOR DESIRED PICTURE HERE);background-repeat:repeat;}
    </style>

    N.B. ‘PAGEINQUESTION’ is just the extra name added to your web-address, the same name that you see automatically added when you start a new page and underneath there is your webaddress and a ‘little extension’.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change Background Image per page’ is closed to new replies.