PDA

View Full Version : vb 4.2.1 CSS help with custom theme


hirebuysell
06-11-2013, 05:51 PM
Hi,
I am using custom theme from completevb.com on my site.
Everything works fine except navbar font color.
I tried to change it from stylemanager > themename > MainCSS > Navbar Text but nothing chances when i change Font color.
On the very top of the page this error also comes

Warning: Invalid argument supplied for foreach() in [path]/admincp/css.php on line 451

Please guide me about the error as well as how to change font color.
Thanks in advance

Spangle
06-11-2013, 06:34 PM
Hi,
I am using custom theme from completevb.com on my site.
Everything works fine except navbar font color.
I tried to change it from stylemanager > themename > MainCSS > Navbar Text but nothing chances when i change Font color.
On the very top of the page this error also comes

Warning: Invalid argument supplied for foreach() in [path]/admincp/css.php on line 451

Please guide me about the error as well as how to change font color.
Thanks in advance

You can do this in the stylevars without touching the CSS

hirebuysell
06-11-2013, 06:42 PM
Okay Thanks Its done

Spangle
06-11-2013, 07:12 PM
Please tell me bit more,Thanks

Got to your AdminCP

Choose Styles and Templates from the menu on the left

In the RH pane you will see your themes, next to them should be drop down menu's, one will be called Style Variable Editor

Click on "Go" next to it

A panel opens up, with a list of the available style variations on the left, scroll down to where it says NAVBAR in bold, those are all the style variations for the navbar in the chosen theme, you can change fonts, font style, font colour, in fact almost everything, alter one at a time, go back to your theme to see the effect, keep adjusting until you are 100% happy.
To be more precise with colours use hex-decimal instead of RGB

If you have messed up your CSS templates, use the revert function to reset them to default.