Hi, I would like to add a small logo to the existing header text in the theme, and maintain the twitter and other social media links to right of the header area.
I’ve experimented with adding a header logo 1018x250 that contains the text, but this always looks horrid.
How can I simply add a small logo to right or left of the header text please?
You can choose between logo or website title or website title + description. No other options are available via Theme Options. Other options is custom header but I understand that this is not the right solution for you.
If you feel strong with code you can go ahead and edit header-extensions.php file which you can find in theme folder - library - structure.
Is is matter of copy/pasting, so it should be ok for non-developer as well. See code that starts on line 200.
Thanks, I’m ok with editing code, but what should I put in header-extension.php? A hard coded link to the image?
This is the code that will take logo from Theme Options logo section:
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
<img src="<?php echo $options[ 'header_logo' ]; ?>" alt="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>">
You can add it where you would like it to appear. Most likely after
<h2 id="site-description"><?php bloginfo( 'description' ); ?></h2>
But you can play around to get the result you were looking for.
Hi! How add logo and text at the same time?
my website multilingual (http://idum.uz), after editing the code will not be an error in the text?
Can I put a hyperlink on the logo?