Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 25 Oct 2017, 06:54
Raptor Raptor is offline
 
Join Date: Nov 2001
Change background color of forum header based on forum ID

I've seen this mod for 4.1.x but does not work on 4.2.x

https://www.vbulletin.org/forum/showthread.php?t=293417

I have forums with plain color background in forumhome - basically want a couple of them to have a different color background

Like so:



--------------- Added 25 Oct 2017 at 06:59 ---------------



--------------- Added 25 Oct 2017 at 07:04 ---------------

This is the section of relevant code in the html


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

--------------- Added 25 Oct 2017 at 07:05 ---------------

CSS is generated dynamically


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

Reply With Quote
  #2  
Old 25 Oct 2017, 08:15
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
You can add something like this to your "additional.css" template:


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

where XX is the forumid and #RRGGBB is the background color you want.
__________________


Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
Reply



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 22:48.

Layout Options | Width: Wide Color: