How to display tagline as well as site title for logo text?

Right now I have the site title as the logo text but I would also like the tagline to show in a smaller font directly under the site title on the homepage. How do I do this?

Comments

  • Hello
    Thanks for contacting us.
    To do so, you need to create a child theme, For creating a child theme refers this link
    Ignore if you have already created child theme .After it  Create a new file in the child theme with name header.php  and edit it, then paste the code in it from https://pastebin.com/gXbzAnWA

    Save changes and activate your child theme.

    To change tagline text color add the below css code inside the custom css box . 

    p.site-description {
        color: #502929;
    }


    Change color code value as your need . 

    Thanks 

  • Thanks, this worked but on mobile it's a little misaligned. How can I fix?
  • Hi
    For this add the below css cde inside the custom css box . 

    @media only screen and (max-width: 767px) and (min-width: 480px)
    {
    p.site-description {
        display: inline-block;
    }
    }
    @media only screen and (max-width: 480px) and (min-width: 200px) { 
    p.site-description {
        text-align: center; 
    }
    }

    Let us know for further assistance .

    Thanks 
    Akhilesh
Sign In or Register to comment.