Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Montezuma Theme (http://forum.bytesforall.com/forumdisplay.php?f=53)
-   -   [SOLVED] Font size of titles not following value of content.css (http://forum.bytesforall.com/showthread.php?t=20379)

dcclxi May 22, 2013 02:58 AM

[SOLVED] Font size of titles not following value of content.css
 
Hello,

I am new to Montezuma and trying to modify the font and font size of the titles (h1 to h6 HTML markup). I worked out I had to edit content.css via Dashboard > Appearance > Montezuma Options > CSS Files > content.css.

It works for the font, but the font size is not picked up unless I add "!important" (see h2 in the example below). Am I missing something?

Thanks in advance for any info you could provide me with,
dcclxi


Extract of content.css

Code:

/********************************************************************
        <H1> - <H6> HEADINGS
********************************************************************/

h1, h2, h3, h4, h5, h6 {
        font-family:                        'Annie Use Your Telescope', 'Yanone Kaffeesatz', sans-serif;
        font-weight:                        normal;
        margin:                                        20px 0 10px 0;
}

h1 { font-size: 28px; line-height: 44px; }
h2 { font-size: 24px !important; line-height: 40px; }
h3 { font-size: 20px; line-height: 35px; }
h4 { font-size: 16px; line-height: 33px; }
h5 { font-size: 12px; line-height: 27px; }
h6 { font-size: 8px; line-height: 22px; }


lmilesw May 22, 2013 09:57 AM

If you are looking to change POST HEADLINES then look in Posts.css

dcclxi May 22, 2013 10:03 AM

Great, that was it!
Thank you,
dcclxi


All times are GMT -6. The time now is 04:17 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.