-
AuthorPosts
-
February 24, 2015 at 1:22 pm #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
/CeciliaFebruary 24, 2015 at 1:49 pm #401392Hey 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!
YigitFebruary 24, 2015 at 2:09 pm #401408So 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!
February 24, 2015 at 2:13 pm #401410Hey!
Please add following code to Quick CSS as well
.logo img { display: none; }Best regards,
YigitFebruary 24, 2015 at 2:55 pm #401438Hehe, quite obvious. Thanks!
[fixed it]
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.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 thisBIG THANKS!
-
This reply was modified 10 years, 8 months ago by
ceciliahermansson.
February 24, 2015 at 3:01 pm #401443Hejsan Cecilia!
Please use following code in Quick CSS
.logo a { text-decoration: none!important; } span.subtext { font-family: georgia !important; }Cheers!
YigitFebruary 24, 2015 at 3:04 pm #401446All solved. Cheers! Tacktack!
February 25, 2015 at 7:52 am #401881 -
This reply was modified 10 years, 8 months ago by
-
AuthorPosts
- The topic ‘Text instead of logo’ is closed to new replies.
