Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #473450

    URL: http://www.judithpoulteney.co.uk

    Hi there,
    Is there any chance you can give me a code to make the first tagline in the header under the logo. The text to be enlarged is “Judith Poulteney” and should be a larger font size (40px) than the 2 lines below (they are font size 22px): see http://imgur.com/VJNZpww

    Do I need to create another class in functions.php to do this?

    This is what I added for all subtext on functions.php:
    add_filter(‘avf_logo_subtext’, ‘kriesi_logo_addition’);
    function kriesi_logo_addition($sub) {
    $sub .= “<span class=’logo-title’>Judith Poulteney<br />UCAS statements – job applications<br /> interview practice</span>”;
    return $sub;
    }

    Thanks a lot,
    Susanne

    • This topic was modified 9 years, 5 months ago by Susanne.
    #473451

    Sorry, the screenshot is here:

    View post on imgur.com

    • This reply was modified 9 years, 5 months ago by Susanne.
    #473779

    Hi!

    Please change your code to following one

    add_filter('avf_logo_subtext', 'kriesi_logo_addition');
    function kriesi_logo_addition($sub) {
    $sub .= "<span class='logo-title'><span class='headline'>Judith Poulteney</span><br />UCAS statements – job applications<br /> interview practice</span>";
    return $sub;
    }

    and then add following code to Quick CSS

    .headline { font-size: 40px; }

    Regards,
    Yigit

    #473848

    Perfect, Yigit! You’re a star….
    Thank you so much,
    Susanne

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘subtext in header, different font sizes’ is closed to new replies.