Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #718286

    Hi,

    I transformed my logo into text following this answer from another thread: https://kriesi.at/support/topic/text-instead-of-logo-in-header-2/#post-648116

    It works perfectly, except the link that replaces my logo is:

    • underlined when :hover
    • bold
    • not the font size I want it to be

    Therefore I’d like to tweak its css properties.

    I’ve got this in my child theme’s functions.php file:

    add_filter('avf_logo_final_output','av_change_logo');
    function av_change_logo()
    {
    $logo = '<span class="logo"><a href="'.get_home_url().'">my site</a></span>';
    return $logo;
    }

    and I’ve been trying this in my child theme’s style.css file:

    .logo a {
    text-decoration: none;
    text-size: "16px";
    font-weight: normal;
    }

    …but it doesn’t work.
    I’m sure there’s a quick fix to this I haven’t noticed…

    Thanks in advance for your help!
    Robin

    #718297

    Hi robinmetral!

    Please try using custom CSS code as following

    .logo a {
    text-decoration: none!important;
    font-size: 16px !important;
    font-weight: normal !important;
    }

    If that does not help, please create a temporary admin login and post it here privately.

    Best regards,
    Yigit

    • This reply was modified 7 years, 12 months ago by Yigit.
    #718345

    Hi Yigit,

    Thanks for your reply!
    Unfortunately it still doesn’t work (even when adding the missing semi-column after the last line of your code ;) )

    I’m transferring the details of the admin login below.
    Cheers

    #718368

    Hey!

    Good catch! :) I edited my post.

    I checked your website and it does work fine on my end. Please flush browser cache and refresh your page a few times – http://wiki.scratch.mit.edu/wiki/Hard_Refresh

    Regards,
    Yigit

    #718594

    Perfect!
    It actually worked then :)
    My bad, and thanks again!

    #718600

    Hi,

    You are welcome!

    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Regards,
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Style logo text css’ is closed to new replies.