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?
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?
I've created a typography.css and included it with
<link rel="stylesheet" type="text/css" href="<?=$this->getThemePath()?>/typography.css" />
but nothing happend.
<link rel="stylesheet" type="text/css" href="<?=$this->getThemePath()?>/typography.css" />
but nothing happend.
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.
<link rel="stylesheet" type="text/css" href="<?php print $this->getStyleSheet("typography.css"); ?>" />
typography.css and default.php in the same folder please.
I don't have problems to connect with my css file. The only thing which dosen't work is the h1,h2,.. tag :/
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/...
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/...
Nothing works :/ I just don't see the problem.
It's like my concrete dosen't want me to change the <h1> style.
It's like my concrete dosen't want me to change the <h1> style.
Don't know why, but know it works with the typography.css!
Thanks to all!
Thanks to all!
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)