Homepage › Community Forums › Optimal Theme Support › Optimal logo 1.3 placement
Tagged: logo optimal theme
Dear Friends,
I need help for my site: http://www.sentrabajusenam.com. The logo apparently couldn’t move to the place, I wanted to and it felt I have two home site link, one on the logo and the other on empty space below the logo.
I have change the function.php below smaller to match my logo size:
add_theme_support( ‘genesis-custom-header’, array(
‘flex-height’ => true,
‘height’ => 120,
‘width’ => 300
) );
Yet the problem occurred as its current. Before I know and change above function, the results appeared just fine but the logo being stretch to match the title area.
Please advice,
Thanks,
Bagus
First thing I noticed is that you have the .wrap set to 940px on line 560, which causes the hyperlink to move towards the right of the image. If you change that back to 1140px it will move back and cover the image. Then you’ll probably want to change this (line 1326) –
.header-full-width .title-area,
.header-full-width .site-title {
width: 100%;
}
….to a smaller width, like 300px or whatever size your image is and that way the link won’t cover the entire width of the page.
I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com
Hi Eric,
Thank you for your help 🙂
I change to 940 i.o 1140 due to I didn’t want my site too width.
Based on your advice, I have change and apparently the problem is still the same, with hyperlink still double
I’m looking at it now, and it looks like it’s working. At first your hyperlink was 1140px wide, and now it is 300px, so the code worked. Your image is actually 183px, so I would just change it to that. I only added 300px as an example, so you may want to change that to 183px instead since that is the size of your image.
I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com
Hi Eric,
It doesn’t work either.. There are 2 hyperlink shows
Any other advices?
No there is only 1 hyperlink, I’m looking at your code. The way it works, is WordPress creates the header image/logo, then Genesis adds the hyperlink in the same area so you can click the image. You only have one hyperlink, there is no way to create 2. You also still have the width set to 300px, so you would need to decrease that to the actual size of your image….you may also want to decrease the height as well.
Here is the code you will need to adjust (line 1351) –
.header-image .site-title a {
float: left;
min-height: 164px;
width: 300px;
}
Everything is still working fine, you just need to adjust the width above if you don’t want the hyperlink to extend past the width of your image.
I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com
