Jump to content


Photo
Transparency

Transparency theme - setting background image per page

transparency

Best Answer gosimowicz , 31 March 2013 - 08:12 PM

Cool, thanks so much for the quick reply. Loving the theme by the way!!

 

Thanks again, 

Greg

Go to the full post


  • Please log in to reply
2 replies to this topic

#1 gosimowicz

gosimowicz

    Newbie

  • Members

  • 2 posts
  • Country: Country Flag

Posted 28 March 2013 - 04:18 PM

Hello, 

 

I have purchased the Transparency child theme and I'm trying to figure out how to set different background images on different pages. I can see this done on some sites using the theme (e.g. http://www.coloradorafting.com/). 

 

I have tried adding the code below to the body of a page - this works initially - I can see the image loading - but it seems like the default background image (defined through the Pagelines > site options > Color control) is set via a script which kicks in after the page loads. This means that the image set via the below code gets overridden by the default background image. 

 

Any suggestions on how to accomplish my goal and assign different backgrounds to individual pages/categories etc.?

 

 
<?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>

 

Greg

 



#2 cmunns

cmunns

    Advocate

  • Members

  • 6537 posts
  • Country: Country Flag

Posted 28 March 2013 - 09:10 PM

Yeah, actually...each page can have a diff bg image ( like the theme demo ) by going to the pagelines meta options for the page in question. The "Page Setup" tab will have an image uploader just like the one in color control



#3 gosimowicz

gosimowicz

    Newbie

  • Members

  • 2 posts
  • Country: Country Flag

Posted 31 March 2013 - 08:12 PM   Best Answer

Cool, thanks so much for the quick reply. Loving the theme by the way!!

 

Thanks again, 

Greg







Also tagged with one or more of these keywords: Transparency, transparency