Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 07 Nov 2017, 19:35
Anton Rahman Anton Rahman is offline
 
Join Date: Nov 2014
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
Reply With Quote
  #2  
Old 07 Nov 2017, 22:51
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
This should do the trick...

For color:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



For alignment:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Tested on forum homepage vb 5.3.3

Last edited by Seven Skins; 08 Nov 2017 at 11:27.
Reply With Quote
  #3  
Old 08 Nov 2017, 15:21
Anton Rahman Anton Rahman is offline
 
Join Date: Nov 2014
.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 ??
Reply With Quote
  #4  
Old 08 Nov 2017, 16:00
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Like this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #5  
Old 09 Nov 2017, 15:15
Anton Rahman Anton Rahman is offline
 
Join Date: Nov 2014
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 …..
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Add-On Releases Below NavBar-Silding Text Float Panel(Jquery) 1only vBulletin 3.8 Add-ons 5 29 Jul 2009 23:18


Tags
forum category title, forumdislpay


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 16:34.

Layout Options | Width: Wide Color: