Tagline under the logo - by Gabriele D'Amato

This topic has 6 replies, 3 voices, and was last updated 3 years, 8 months ago ago by Olga Barlow

  • Avatar: Gabriele_DAmato
    Gabriele D'Amato
    Participant
    March 15, 2021 at 11:36

    Hi, I would insert the tagline (site description) under the logo, but seems is not possible.
    I tryied to find the theme file that manage this part of the header, but I didn’t find it. I could insert it by code directly.
    Could you please help me with this issue?
    Thanks

    5 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    March 15, 2021 at 12:20

    Hello,

    You can add the below code to child theme functions.php and create tagline shortcode

    /**
     * Output site tagline.
     * [site_tagline]
     */
    function eth_output_site_tagline_func() {
        return get_bloginfo( 'description' );
    }
    add_shortcode( 'site_tagline', 'eth_output_site_tagline_func' );

    After that add the shortcode to the header https://prnt.sc/10m921r

    Regards

    Avatar: Gabriele_DAmato
    Gabriele D'Amato
    Participant
    March 15, 2021 at 17:32

    Thanks, but is very difficult manage the block with css.
    I prefer put the code I need directly in the file, but I can’t recognize it.

    Avatar: Robert Hall
    Robert Hall
    Support staff
    March 16, 2021 at 07:28

    Hello Gabriele

    Can you please explain your block issue in more details where you are facing the issue so that we will guide you in best possible way.

    Robert Hall

    Avatar: Gabriele_DAmato
    Gabriele D'Amato
    Participant
    March 17, 2021 at 16:42

    I have to put the tagline under the logo.
    Is difficult to manage the block system, because I can’t create another block under the logo for this purpose. I have to manage the other html blocks for this reason, then work hard with css to put the tagline under the logo and also manage better the other blocks.
    My need is easy: I wanna put a piece of code under your code that manage the logo, so I don’t have to work so much with blocks and css. I need to know where I have to put my tagline code.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    March 18, 2021 at 11:45

    Hello,

    Header builder code is located in the XStore core plugin. You won’t be able to overwrite plugin code using child theme.

    Could you, please, provide me mockup of the layout you want to implement and WP Dashboard and FTP access to your site? We’ll try to help you using the method I described.

    Regards

  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.