Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
ewoud (Guest)
ewoud (Guest)
Hi all,
I was trying to do something but am afraid my css knowlegde is not enough...
here's what i wanted to find out:
when you make a custom block you can attach a custom class to it, for instance, .customblock.
when you look at the block_custom template you can see it dynamically looks for the css class ( <div class="{css_class}"> )
then, when the templates builds the custom block there are 3 tables, for top, content and bottom of the block
here it calls for the generic .titletop etc css markups.
 
My question is whether it is possible to customize these titletop.center etc as well. if so, how do you do this?
does it inherit these from the main css or can you include these in a separate rule?
any help will be much appreciated!
thanks ewoud
 
ewoud (Guest)
ewoud (Guest)
would it be possible to do this with:
{css_class}titletop / td / titlebot etc. in the template and then creating corresponding classes in the stylesheet?
i.e. the custom block class in hompaqelayout is called 'custom' so {css_class} refers in this case to .custom
.custom
which has
.customtitletop
.customtr
.customtitlebot
in the stylesheet.
 
does anyone have any thoughts on this?
 
ewoud (Guest)
ewoud (Guest)
I have figured this out:
in the css stylesheet you get the following:
.custom .titletop
.custom .usualbg
etc...
cool...