• Hello there,

    I’m very pleased to have migrated my website to Astra, the theme is very efficient and fast ! But I’m frustrated by something I can’t figure how to make.

    I’d like to add a sub-sub-title, something between span.site-title and p.site-description, or between these and the menu. I created a widget section and thought it could go after <?php astra_header(); ?> in the header.php but it isn’t the case. So, I’m looking where I can add my new widget area, or something else that work. Am I looking the wrong way ? ??

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi @ulrichg,

    To add custom text between the site title and site description you can use the following custom code. Paste the code into the child theme’s functions.php file.

    add_filter( 'astra_site_description', 'astra_add_text_site_title' );
    
    function astra_add_text_site_title( $description ) {
        $description = '</p><h4>My Custom Code</h4> ' . '<p>' . $description;
        return $description;
    }

    Do let us know if you need any further help!

    Regards,
    Anjali

Viewing 1 replies (of 1 total)
  • The topic ‘Header edit’ is closed to new replies.