1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Enable the tagline

Discussion in 'Blogging' started by mootonandy, Apr 27, 2011.

  1. mootonandy

    mootonandy Supreme Member

    Joined:
    Jun 21, 2010
    Messages:
    1,257
    Likes Received:
    236
    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.
     
  2. neilbradydom

    neilbradydom Registered Member

    Joined:
    Aug 12, 2009
    Messages:
    82
    Likes Received:
    17
    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
     
  3. mootonandy

    mootonandy Supreme Member

    Joined:
    Jun 21, 2010
    Messages:
    1,257
    Likes Received:
    236
    Thanks a lot mate, ill put it in and c what happens.
     
  4. Malachute

    Malachute Junior Member

    Joined:
    Oct 21, 2009
    Messages:
    124
    Likes Received:
    414
    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