Need to change background image for each page... please help (2 posts)

  1. mixmastermichael
    Posted 5 years ago #

    So, I'm currently using the 2010 theme on this site below. I have set the "main" div to have the background image used on every page, and then I was going to just swap out "main" to "main_about" "main_borders", etc and just change the background image to the right one on each page template.

    This all sounded good, but have recently discovered that the original "main" div spans on all pages in the header.php file.


    this page has a different template with main_about, but since the original "main" div from the header comes across it, it can't be seen.


    How can I have it so that I can just change the background image for each of the pages?

    I think a possible solution would be to have seperate header.php files for the pages and then load them in with "main_about" instead of "main" but I can't seem to get it to work.

    Any help would be greatly appreciated.


  2. mixmastermichael
    Posted 5 years ago #

    Figured this out.

    In case some sorry soul stumbles on this same issue, this video helped me get on the right track, then just changed the .page-id-whateverpage #main background image url.


Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.