Viewing 2 replies - 1 through 2 (of 2 total)
  • please read https://codex.www.ads-software.com/Forum_Welcome#Posting_Code and then re-post your code accordingly…

    is it about the formatting if the tag line?

    maybe you could consider to use twitter bootstrap css and use grid property to take care of it.. i’m not an expert but you could try it.
    “twitter bootstrap cdn Link
    your code:

    <hgroup>
    <img src="https://lvefoundation.org.uk/wp-content/uploads/2016/06/cropped-Logo-No-Text.png" height="250"></br>
    the</br>
    lve</br>
    foundation</br>
    
    <h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
    </hgroup>

    add this to your header:
    <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha/css/bootstrap.min.css" rel="stylesheet">

    change header hgroup to:

    <hgroup class="col-sm-12">
    <div class="col-sm-2">
    <img src="https://lvefoundation.org.uk/wp-content/uploads/2016/06/cropped-Logo-No-Text.png" height="250"></br>
    the</br>
    lve</br>
    foundation</br>
    </div>
    <h2 class="site-description col-sm-6"><?php bloginfo( 'description' ); ?></h2>
    </hgroup>

    but, i’m not sure this is good enough, since you have to make some change to alter the position like padding-top. read more about bootstrap-grid here

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Tweaking header.php’ is closed to new replies.