View Full Version : Hard code the colours of heading, and menu strips?
November 6th, 2006, 09:10 AM
I've set 'vB3 INTEGRATION - Do you want to enable the vB3 Integration which uses your vB3 headers, footers and styles?' to 'yes'. Is it possible to hard code the colours of heading, and menu strips into the PHP file?
I'd like to be able to use different colours in PhotoPost and ReviewPost to those colours used in my forum.
November 6th, 2006, 09:14 AM
Not really persay as far as style but you can hack the header-inc.php file to load a different header footer as seen on some threads around here by grabbing a new header or footer you make for the gallery
November 6th, 2006, 09:28 AM
I see that header-inc.php defines CSS properties in / for $vbheader
It's the category and section header strips that I would like to change the colour of. Would I be able to add CSS definitions for just these strips in header-inc.php? Would Photopost use these definitions or would it ignore them and use the ones set by vB?
November 6th, 2006, 09:53 AM
To change colors you would need to alter our templates to load different style classes as by default we are going to match the vbulletin style
November 6th, 2006, 12:08 PM
Having had a look at one of templates I see what you mean. So it would just be a case of editing some of the style classes... adding a custom colour to each occurence of the classes I want to change? Which ones are do I edit to change all of the 'blue background / strips'?
November 6th, 2006, 12:41 PM
yes a custom class and changing the class name to the new one. I dont really know what you mean by blue background but possibly the tcat class is that and menubar in photopost
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.