News:

Support the VirtueMart project and become a member

Main Menu

Different textstyle for vmheader

Started by vigier, June 28, 2012, 00:25:36 AM

Previous topic - Next topic

vigier

Hi,

class vmheader is used by modules Manufacturer and Featured products to display the title/header.
I want to change the style of the text, but I can't get it done. My idea was to add the following code to the CSS of the template:

#vmheader
{
        font-size:1.1em;
        font-weight:bold;
}


But nothing happens when I refresh. I've done some other changes in CSS files and they work well. But somehow with classes I can't get it done. When I use firebug to see the style and inheritance, the lines in my css aren't mentioned. What am I doing wrong?

Sorry for this noob question, but I found out that I'm much better with PHP than the CSS styling stuff...

srajca

with your code you are using an id and not class
to use class, try this

.vmheader
{
        font-size:1.1em;
        font-weight:bold;
}

more on classes in css check - http://www.w3schools.com/css/css_id_class.asp

vigier

Thnx a lot! I've seen quite a few pages at w3schools, but I think I read a little too fast...
Works like a charm!

srajca

perfect, I am glad everything worked out for you