WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Twenty Eleven – Tag Line

[Resolved] Twenty Eleven – Tag Line

  • Hi I am updating a currently tactical website (greatbaddowbowlingclub.co.uk/wordpress) using twenty eleven theme but want to know how can I extend my tagline across 2 lines or alternatively add a second tagline?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Do you mean the text in the header? You have two lines on top. I would create a child theme and enter the text in header.php

    Hi and thanks. Being a luddite and a non-coder need a bit more help. I have created a child theme, assume I now add a header.php file to that, but what do I then insert in this file?

    Follow-up
    I’ve also now removed the search form from the title and want to centre both the Site Title and the Site Description. I’ve looked through the forum posts and tried the following, but does not appear to work – any help appreciated.

    #site-title, #site-description {
    margin: 0 auto; text-align: center;
    }

    Looks like you got it fixed.

    Yeah seems like it, well the alignment anyway. Going back to first post what do I need to put into header.php so that I have ‘Affiliated to…’ on the next line – spacebar doesn’t work?

    It wants to put your entire title on one line. So shorten your site title in the admin. Then in the code of the header right before the </title>

    Make it look like this and put at br tag before affiliated. Its removing it when I post: ?>Affiliated to....</title>

    Hi Bloke, thanks for your advice, will give this a go.

    Hi Bloke – shortened the tagline/description and insert rest as I think you suggested – see below, but only results in shortened description appearing.

    // Add a page number if necessary:
    	if ( $paged >= 2 || $page >= 2 )
    		echo ' | ' . sprintf( __( 'Page %s', 'twentyeleven' ), max( $paged, $page ) );
    
    	?>Affiliated to Bowls England; E.C.B.A.; E.C.W.B.A.; C & D.B.A.; C.M.B.L.& C.L.B.L.</title>
    <link rel="profile" href="http://gmpg.org/xfn/11" />
    <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    <!--[if lt IE 9]>
    <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script>
    <![endif]-->

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    Sorry about that. About line 75
    <h2 id="site-description"><?php bloginfo( 'description' ); ?><br>Affiliated to....</h2>

    Hi Bloke – been out of circulation, but now read and updated my code – works great. Many thanks for all your help.

    Hi
    I am having trouble aligning the font for the entry title on all pages in my website (greatbaddowbowlingclub.co.uk/wordpress)I am using a child theme and have applied the following code
    .singular .entry-title {
    color: #000000;
    font-size: 26px;
    font-weight: bold;
    line-height: 40px;
    }
    However whilst my Home page has this other pages style.css are applying 36px.
    What am I missing?

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Resolved] Twenty Eleven – Tag Line’ is closed to new replies.