[wikka-community] Background Images
Wed May 12 12:51:54 GMT 2010
> I know you can edit the style sheet in order to add a background image but what I need to know is if it is possible to somewhere add a different background image for different pages within the wikka site?
you can do this by adding a style block in the <head> of the header file of your theme, e.g.
you can then check the page name (if that's what you want to use) to load a different image, for instance:
if ($this->tag == "MyPage") $imgurl = "mybackground.jpg";
background-image:url('<?php echo $imgurl ?>');
Hope this helps,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the community