How to display title in header after logo upload

This topic contains 7 replies, has 2 voices, and was last updated by  Paolo 8 years, 11 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #39784

    wci
    Expired Member
    Post count: 1035

    Hi support team,

    after logo image upload the title and subtitle of the page disappeared.
    I need to know how to enable:
    1. logo aligned in center
    2. h2 title to be displayed in header

    screen shot – http://screencast.com/t/pomjmYej0PN

    Please advice.

    Regards, Alex

    #39847

    Paolo
    Site Admin
    Post count: 31206

    Hi Alex,

    this is how it is intended to work.

    To do what you want, you’ll need to copy header.php from the main site to the child theme and customize its code.

    This is to be considered a customization.

    Thanks

    #39888

    wci
    Expired Member
    Post count: 1035

    Hi again,

    I would copy and paste the header in child theme, but I need to know which code to adjust. So please be so kind and inform which code I need to implement at least the h2 title in header.

    Regards,
    Alex

    #40263

    Paolo
    Site Admin
    Post count: 31206

    Copy this:

    
    
          <h2 class='site-description'>
            <?php bloginfo( 'description' ); ?>
          </h2>
    

    and paste between

    <div class='site-logo'> <a href='<?php echo esc_url( home_url( '/' ) ); ?>' title='<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>' rel='home'><img src='<?php echo $gdf['site_logo']['url']; ?>' alt='<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>'></a> </div>

    and

    
    
    <?php else : ?>
    

    That would be between line 57 and 58 of the orginal GDF header.php.

    You may have to slightly adjust the css too afterwards.

    Let us know how you went,

    Thanks

    #40880

    wci
    Expired Member
    Post count: 1035

    Great it has worked so far

    Now I only need the css code to declare that the h2 text is left aligned below the logo image for all browsers.

    Regards, Alex

    #40911

    Paolo
    Site Admin
    Post count: 31206

    Link pls?

    #40913

    wci
    Expired Member
    Post count: 1035

    Hi Paolo,

    sorry I forgot, here is the link – http://gd.worldcheckin.com

    Regards, Alex

    #40916

    Paolo
    Site Admin
    Post count: 31206

    please add this to your custom css:

    
    
    
    h2.site-description {
        clear: both;
    }

    Thanks

Viewing 8 posts - 1 through 8 (of 8 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket