If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
Hi, how would I change (the header.php, I assume?) to generate a large text title instead of the image option?
In header.php replace
echo avia_logo(AVIA_BASE_URL.'images/layout/logo.png', false, 'strong');
echo "<h3 class='logo'><a href='".home_url('/')."'>My website</a></h3>";
You can replace “My website” with your custom text.
Hi, the alignment is then off, so in the layout.css, I add a padding to the top of 15px.. which works nicely, except for when you scroll down, it cuts off the text.
Any suggestions how to align better? You can see this on http://www.kennethhavinga.com
Can you elaborate on “when you scroll down, it cuts off the text.” – tbh I don’t notice any weird styling when I scroll down. Of course the “logo text” and the menu will disappear if you scroll down but it works as expected. If you want to show them even if the user scrolls down you must select a “fixed header” layout on the theme options page.
The topic ‘Change Image to Text Site Title’ is closed to new replies.