The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Why text-align: center and float: center doesn?t work on forum category title in vB5?
For example try adding the following to additional.css in Vb5
#forumX.category-header { background: #033144; } And it works like a charm, you get a new background color for your forum category identified by X node ID, but hey , why: #forumX.category-header { color: #FFFFFF; } Never works in changing the font color of the same target forum category node ID??? Interesting right ? PS. The capital X stands for whatever node ID you wanna target in your css mod. Its kindda interesting that why if you wanna change the font color of that particular forum category node ID , you have to do: .category[data-nodeid="X"] { color: #FFFFFF; this time it works !! Any ideas on what is the reason? Now lets move on to the one million dollar question Why in both cases and in any other way that: text-align: center and float: center will not work on forum category headers !!!! Any ideas will help Kindly note , this is for vBulletin 5, we are aware that there had been many successful codes to accomplish that in all former vBulletin versions , but so far none for vBulletin 5 Any advice is appreciated |
#2
|
||||
|
||||
This should do the trick...
For color: Code:
#forumXX td a.category { color: red !important; } For alignment: Code:
.forum-list-container .category-header .category { float: none; } .forum-list-container .category-header td { text-align: center; } |
#3
|
|||
|
|||
.forum-list-container .category-header .category { float: none; }
.forum-list-container .category-header td { text-align: center; } works like a charm but how can we target specific node id's ?? |
#4
|
||||
|
||||
Like this:
Code:
.forum-list-container #forumXX.category-header .category { float: none; } .forum-list-container #forumXX.category-header td { text-align: center; } |
Благодарность от: | ||
Anton Rahman |
#5
|
|||
|
|||
What else can we say, superman save the day AGAIN !!
Please accept our utmost regards o’ mighty WIZ Not only that your PERFECT solution came ahead of the vBulletin support team But it was in fact more correct and more direct to the point You must know more about vBulletin than vBulletin knows about itself!! Best regards master!, and much thanks, we also PM you to request purchase of your available skins/mods for vBulletin 5.3.3 , we will buy first think later ….. |
Благодарность от: | ||
Seven Skins |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|