• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.2 Can I change header background in the all sub-forums?

#1
Hi all,
I wonder that;
can I change header's background image for all sub-forums.
For example,
main page's header bg is default and I go to the sub-forum called Battlefield 3 I want to put header a bf3 image,I go to sub-forum called Call Of Duty I want to put there a cod image.Can I do that?

A site for example;
http://www.ksitetv.com/forums/index.php
http://www.ksitetv.com/forums/forumdisplay.php?965-Agents-Of-S-H-I-E-L-D
http://www.ksitetv.com/forums/forumdisplay.php?279-Doctor-Who-amp-Torchwood-The-Whoniverse


I know this forum is vBulletin,that's why I ask.I wonder that is it possible or not?
 

Jeremy

Well-known member
#2
Yes, that should be doable either by having multiple styles or CSS. However, I do not know the css off by hand.
 

Brogan

XenForo moderator
Staff member
#3
Add this to EXTRA.css:
Code:
#header {
background: url("path/to/image.png");
}

.node32 #header {
background: url("path/to/image.png");
}

.node47 #header {
background: url("path/to/image.png");
}
Change the node ID accordingly and add a new selector for each node and image combination.
 
#6
Add this to EXTRA.css:
Code:
#header {
background: url("path/to/image.png");
}

.node32 #header {
background: url("path/to/image.png");
}

.node47 #header {
background: url("path/to/image.png");
}
Change the node ID accordingly and add a new selector for each node and image combination.
It didn't work for Baisik theme?