Tagged: , ,

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #895711
    #895714

    Hi Stephan,

    If you have already added the code to functions.php file and displaying text, you can simply add following code to Quick CSS in Enfold theme options under General Styling tab

    .logo .subtext {
        font-size: 28px;
        color: orange; 
    }

    and adjust it as needed.

    If you have not added the code in functions.php file to display text, please add following code to Functions.php file

    add_filter('avf_logo_subtext', 'kriesi_logo_addition');
    function kriesi_logo_addition($sub) {
        $sub .= "Company Name";
        return $sub;
    }

    Best regards,
    Yigit

    #895757

    Hi Yigit,

    Thank You, that works.

    Is there a code to add my tagline beneath that?
    Stephan

    #895760

    Hi!

    Sure, you can use the code as following

    add_filter('avf_logo_subtext', 'kriesi_logo_addition');
    function kriesi_logo_addition($sub) {
        $sub .= "<span class='logo-title'>Company Name</span><br><span class='logo-subtitle'>Here goes your subtitle</span>";
        return $sub;
    }

    Best regards,
    Yigit

    #895782

    Hi Yigit,
    That didn’t work. Still no subtitle. I removed the old edit (?) and replaced it with this at the bottom of the functions.php secton:

    add_filter(‘avf_logo_subtext’, ‘kriesi_logo_addition’);
    function kriesi_logo_addition($sub) {
    $sub .= “<span class=’logo-title’>Painted Journals</span><br><span class=’logo-subtitle’>Fine Artist Stephan Giannini</span>”;
    return $sub;
    }

    (first I had just added it below the old edit and it gave me an error)
    Thanks,
    Stephan

    #897278

    This issue is solved, Thanks

    #897291

    Hi,

    Glad to know that this has been resolved. Please feel free to open a new thread if you need anything else. :)

    Best regards,
    Ismael

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Replacing Logo with Text and then Control Font size and Add Tagline’ is closed to new replies.