• I need to change the size of the tagline. Right now I have two sentences and they are cutting off lines in weird places. I would like to see the tag line is one line.

    How can that be done?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Can you give you site’s url?

    Thread Starter marinanysocials

    (@marinanysocials)

    Hi,
    Try adding this to your child theme’s functions.php.
    Adjust font size to suit your needs. But the point where the tagline breaks will change based on the device.

    add_filter('tc_tagline_display', 'mytagline');
    
    function mytagline($content){
    return str_replace("We are not human beings having a spiritual experience. We are spiritual beings having a human experience.",'<span style="font-size: 60%;">We are not human beings having a spiritual experience. We are spiritual beings having a human experience.</span>',$content);
    }
    Thread Starter marinanysocials

    (@marinanysocials)

    I don’t have a child theme. So where should the code be added?

    Thread Starter marinanysocials

    (@marinanysocials)

    So I just added a child and added the code above to it’s functions.php. This is what I now see: “<span style=”font-size: 60%;”>We are not human beings having a spiritual experience. We are spiritual beings having a human experience.</span>”

    Hi,
    Do you mean that the html is displayed as is?
    have you changed the tagline?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Size tagline on front page’ is closed to new replies.