PDA

View Full Version : Blockhead On slightly older Modifications


Mickie D
05-27-2013, 01:11 PM
Hi,

I have notcied that quite a few of the older VB4 modifications use blockhead/blockbody allot for their use of styling.

However, I have also noticed that these mods have no shadow or border on them?

Is there an alternative to blockhead / blockbody that should be used now?

Two modifications in question are

DownloadsII
VSA chatbox.

Would be really cool if there was something that could be done regarding the drop shadows, as the mods do not look correctly integrated into the forums.

Thank you very much for your time.

Mick

nerbert
05-27-2013, 09:53 PM
You can make a shaded class in additional.css


.shaded{
-moz-box-shadow: -2px 2px 2px {vb:stylevar forumbits_shadow_color};
-webkit-box-shadow: -2px 2px 2px {vb:stylevar forumbits_shadow_color};
box-shadow: -2px 2px 2px {vb:stylevar forumbits_shadow_color};
}


and put "shaded" in the list of classes for the element. Or just add those three lines to the css for the elements

Mickie D
05-30-2013, 03:55 PM
You can make a shaded class in additional.css


.shaded{
-moz-box-shadow: -2px 2px 2px {vb:stylevar forumbits_shadow_color};
-webkit-box-shadow: -2px 2px 2px {vb:stylevar forumbits_shadow_color};
box-shadow: -2px 2px 2px {vb:stylevar forumbits_shadow_color};
}


and put "shaded" in the list of classes for the element. Or just add those three lines to the css for the elements

Yeah you are right I forgot to update this, that is exactly what I did and just used div class to wrap it around the block parts.

Well done

Mick