Enable the tagline

mootonandy

Supreme Member
Joined
Jun 21, 2010
Messages
1,283
Reaction score
246
Hi,

A theme I was using seems to have the tagline disabled so I want to know how to modify the theme to display the tagline.

Thanks a lot.
 
Hey man, a "tagline" is a css id. Its like "h1", "h2" and "p".
It depends on the theme, some have different frameworks.
For Wordpress, I'm sure if you look at the themes files there will be a way to add in the "tagline" id. It would be in the header tag, if not add it in and add the style to your stylesheet. I imagine it would be something like this.

Code:
[B]HTML[/B]
<div id="header"><h1 id="tagline">Tagline goes here</h1>


</div>

[B]CSS (probably something like this)
[/B]#header #tagline {
    font-size: 1.4em;
    line-height: 1.429em;    
    color: #888888;
    font-weight: normal;
}

best of luck
 
Hey man, a "tagline" is a css id. Its like "h1", "h2" and "p".
It depends on the theme, some have different frameworks.
For Wordpress, I'm sure if you look at the themes files there will be a way to add in the "tagline" id. It would be in the header tag, if not add it in and add the style to your stylesheet. I imagine it would be something like this.

Code:
[B]HTML[/B]
<div id="header"><h1 id="tagline">Tagline goes here</h1>


</div>

[B]CSS (probably something like this)
[/B]#header #tagline {
    font-size: 1.4em;
    line-height: 1.429em;    
    color: #888888;
    font-weight: normal;
}
best of luck

Thanks a lot mate, ill put it in and c what happens.
 
If you want to automatically display the tagline without changing the theme template use:

Code:
<?php bloginfo('description'); ?>

Instead of the:

Code:
Tagline goes here
 
Back
Top