Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #401376

    Hey,
    I’ve been searching the forum and documentation for a good way of doing this, but with no luck. I don’t want a logo in form of an image to be displayed in the header, I just want to have a tagline in text. What is the best way of going about?

    Best regards
    /Cecilia

    #401392

    Hey ceciliahermansson!

    Please add following code to Functions.php file in Appearance > Editor and edit as needed

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

    Cheers!
    Yigit

    #401408

    So I’ve added the code to functions.php. I now have a span with the class subtext, but when I try styling it, nothing happens. I also don’t want an image logo to be displayed.

    Here’s how I try to style the text:

    span.subtext {
    color: #000;
    background-color: #ff0000;
    border: solid 1px red;
    }

    Please see my website to understand :)

    Cheers!

    #401410

    Hey!

    Please add following code to Quick CSS as well

    .logo img {
    display: none;
    }

    Best regards,
    Yigit

    #401438

    Hehe, quite obvious. Thanks!

    Small issue now. When I target the span.subtext to style it, I can’t change font. But I know I target the right class because I can change the font size.
    [fixed it]

    Also, I need to get rid of the green underscore in hover state, but just for span.subtext, not for the main menu.
    <– Still need help with this

    BIG THANKS!

    #401443

    Hejsan Cecilia!

    Please use following code in Quick CSS

    .logo a {
    text-decoration: none!important;
    }
    span.subtext {
    font-family: georgia !important;
    }

    Cheers!
    Yigit

    #401446

    All solved. Cheers! Tacktack!

    #401881

    Hey!

    Glad you got it fixed :)

    Best regards,
    Rikard

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Text instead of logo’ is closed to new replies.