![]() |
forumhead: One different color from the rest.
Can anyone tell me how to change the background colour of different forum sections on the homepage. In firebug this would be the forumhead foruminfo L1 collapse class.
I have looked at the mods for changing the title colour and background color on forums but I don?t think these are what I want. On the in index page I want one section to be a different colour from the rest. |
You should be able to achieve this with the :nth-child(3) selector where 3 depends on the which forum section it is.
|
Why use the child selector, if the categories all have an unique id?
Code:
#cat123 .forumhead { color: #123456; } |
Quote:
|
The <div> with class="forumhead foruminfo L1 collapse" is inside an <li> that has an id="catxx", so what cellarius proposed should be possible.
|
Oh my bad, I was looking at the ol tags. Should indeed be possible that way.
|
All times are GMT. The time now is 11:19 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|