This topic has 10 replies, 3 voices, and was last updated 8 years by sharmstr.

  • Author
  • #73819
     msattolo
    Participant

    Hi
    How do I add the tagline to the header?
    Thank you

    #73904
     sharmstr
    Moderator

    The header has several sections. Where in the header do you want it?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #73907
     msattolo
    Participant

    Under the Logo.

    #73911
     sharmstr
    Moderator

    There’s no action to inject it, so you’ll have to copy /kleo/page-parts/general-header-section.php to your child theme and change the following (starting around line 149)

    COPY CODE
    
    <?php
    					// Main menu
    					echo $primary_menu;
    					?>
    
    COPY CODE
    
    <?php
    					// Main menu
    					echo $primary_menu;
    					?>
                        <span style="float:left; clear:both; margin-top:-15px;"><?php echo get_bloginfo ( 'description' ); ?></span>
    

    Adjust the inline css as you need.

    Also, be sure to compare this file to any new Kleo updates of the file.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #73951
     msattolo
    Participant

    Hi Sharmstr
    Unfortunately adding this code it is not working….
    Any idea?
    Kind regards
    Miriam

    #73961
     sharmstr
    Moderator

    Do you have your child theme enabled? Did you clear your cache?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #73966
     msattolo
    Participant

    I cleaned that cache, and nothing.
    Yes the child theme is active.

    #73970
     sharmstr
    Moderator

    Did you keep the directory structure? i.e. /kleo-child/page-parts/general-header-section.php

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #73986
     msattolo
    Participant

    That was the problem!
    Thank you for your patience…

    #103093
     benisben
    Participant

    Hi… that doesn’t work for me as the tagline appear under the menu instead of under the title

    #103105
     sharmstr
    Moderator

    In your case, you’ll have to put it next to the logo. Change line 126 from

    <img id="logo_img" title="<?php bloginfo('name'); ?>" src="<?php echo $logo_path; ?>" alt="<?php bloginfo('name'); ?>">

    to

    <img id="logo_img" title="<?php bloginfo('name'); ?>" src="<?php echo $logo_path; ?>" alt="<?php bloginfo('name'); ?>"><?php bloginfo('description'); ?>

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

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

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?