Log in

View Full Version : How to add Color background to this vb 4.2.2 CSS


SᴩiDᴇЯ
01-19-2015, 09:34 PM
This is the css below.
.formcontrols .blockrow .dbtech_shouts .dbtech_vbshout_tabs.alt {
background-color:{vb:stylevar postbit_background.backgroundColor};
}

.formcontrols .blockrow .dbtech_shouts .dbtech_vbshout_tabs.alt2 {
background:{vb:stylevar control_background};

Can someone show me example how to add the Color red for background please.

Thank you in advance.

HM666
01-20-2015, 02:18 AM
You want it for both of them? What exactly are you trying to make red? A menu tab?

For both:

.formcontrols .blockrow .dbtech_shouts .dbtech_vbshout_tabs.alt {
background-color:red;
}

.formcontrols .blockrow .dbtech_shouts .dbtech_vbshout_tabs.alt2 {
background:red;

But keep in mind that this may control other areas of your skin, I'm not sure since its a dbtech setting. Also make sure that you save the original code first somewhere in case this does not produce the result you want and looks bad. Its hard for me to see what it would change without actually seeing a link to your site and looking at the css.

SᴩiDᴇЯ
01-20-2015, 04:26 AM
Hi HM666 and thanks for your reply, yes i will backup the whole dbtech_vbshout_colours.css before making changes, my site is not ready yet, if you want to see the shoutbox go to http://digiwebst.com (http://digiwebs.com)

Update*
I have used your method and i have changed the red to #205b17 green and gold and it works 100% thank you very much i really appreciate it.

HM666
01-20-2015, 05:12 AM
ok great glad its working for you :)