Css Heading

Permalink
Hallo,

I've a problem. I'm building my first theme and want to style the heading tags (h1,h2,h3)
in my css file. The css works for everything except the h1,h2,h3,... tags.

I've wrote this code:

h1 {
float:left;
margin:0px;
margin-bottom:30px;
font-weight:400;
color:#099;
}

I looked in the sourcecode and the Content Text Editor uses <h1>. But why my code isn't working?

BillySpoon
 
vincedelaking replied on at Permalink Best Answer Reply
vincedelaking
Put your H1, H2 etc (also) in the typography.css.
This wil solve your problem. the typography.css has to be in the root of yout themes folder. So somtthing like (CONCRETE 5\themes\mytheme\typography.css)
BillySpoon replied on at Permalink Reply
BillySpoon
I've created a typography.css and included it with

<link rel="stylesheet" type="text/css" href="<?=$this->getThemePath()?>/typography.css" />

but nothing happend.
jrlas replied on at Permalink Reply
Try this

<link rel="stylesheet" type="text/css" href="<?php print $this->getStyleSheet("typography.css"); ?>" />


typography.css and default.php in the same folder please.
BillySpoon replied on at Permalink Reply
BillySpoon
I don't have problems to connect with my css file. The only thing which dosen't work is the h1,h2,.. tag :/
jrlas replied on at Permalink Reply
Hi, maybe that helps.


h1 { /* customize_h1 */ font: normal bold 28px Verdana; /* customize_h1 */
word-spacing : 0.2em;
/* customize_h1 */ color: #1A1A1A; /* customize_h1 */ }


http://www.concrete5.org/community/forums/themes/customize-theme/...
BillySpoon replied on at Permalink Reply
BillySpoon
Nothing works :/ I just don't see the problem.

It's like my concrete dosen't want me to change the <h1> style.
BillySpoon replied on at Permalink Reply
BillySpoon
Don't know why, but know it works with the typography.css!

Thanks to all!