• Resolved tritongr

    (@tritongr)


    Hi

    I need to insert some text just to the right of the logo in the header.

    This is what I mean: text to be inserted

    The only way I found, is to change the code on inc/extras.php > function astra_site_branding_markup().

    But seems I can’t do it in the Astra child theme I use.

    Could you please provide me some help on how to override/remove/rewrite this hook inside my child theme’s functions.php?

    Here you can find the code I need to insert: Code

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter tritongr

    (@tritongr)

    Ok found a solution with this filter:

    add_filter( 'astra_logo', 'my_astra_logo' );
    function my_astra_logo($html){
        return ($html . 'Custom html here.');
    }

    I don’t know if there is a better solution to display the site title and tagline just to the right of the logo.

    Thanks

    Hi @tritongr ,

    You can set your site title and tagline inline with the logo from the customizer’s site Identity setting. Here is the screenshot just for the reference: https://bit.ly/2QgIzfr

    I hope this will helps. ??

    Regards,
    Deepak

    Thread Starter tritongr

    (@tritongr)

    Hello Deepak.

    Indeed you helped me as I had missed the Inline check box in customizer.
    This is exactly what I was looking for.

    Thanks a lot!

    Is there any way to place my site name and tag line below the site logo? Thanks

    @vs2020 ,

    Yes, you can simply uncheck the inline site title from the customizer’s site identity setting, and it will set the site title just below the logo.

    Regards,
    Deepak

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How insert Text besides logo’ is closed to new replies.