Need Help Setting the Background Image

1 replies
  • WEB DESIGN
  • |
Hi,

I'm stuck at placing background image in this website:

Groupon Dev

The idea is, when being click different location ie:
i. los angeles, it will display body background image: los-angeles.jpg
ii. san francisco, it will display body background image: san-francisco.jpg

The problem is, it using wordpress custom taxonomy, i already check on some forum about changing background image using ".page-id" and ".category-id",but mine script is using custom category taxonomy, "deals" for it location,

When i try to put in css the body.deals-id, it not working (so custom taxonomy can be used for css background image, i think).

I try to call, $_session['deals'] at <body><img src="http://www.warriorforum.com/wp-content/uploads/<?php echo $_session['deals'] ?>.jpg" style="width: 100%; height: 100%; position: fixed;"/>but still not working,

My idea is it should work like how livingsocial.com working, when click on different cities, background image change.

Anyone with better skill, please help me around. Thank you
#background #image #setting
  • Profile picture of the author infoman66
    Depends of the template you are using, but I'm sure you should do that, change or add code in function.php of the template ...

    Find a part of code that refers to the background image and play with him ...
    {{ DiscussionBoard.errors[2774187].message }}

Trending Topics