-
AuthorPosts
-
November 29, 2016 at 3:35 pm #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!
RobinNovember 29, 2016 at 3:52 pm #718297Hi 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.
November 29, 2016 at 4:58 pm #718345Hi 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.
CheersNovember 29, 2016 at 5:11 pm #718368Hey!
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,
YigitNovember 30, 2016 at 1:13 am #718594Perfect!
It actually worked then :)
My bad, and thanks again!November 30, 2016 at 1:49 am #718600Hi,
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 -
AuthorPosts
- The topic ‘Style logo text css’ is closed to new replies.