I’ve found info here, that to set full width image as header in Vantage Pro, I can do it under Appearance > Customize > Page: Masthead Background Image.
So I tried it with 1024x120px jpg image and it doesn’t work :( It shows up in small selection window on the left of Customize screen but it doesn’t on page.
What else should I do?
Full width header image not working
This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.
Hi teedee,
There is a bit of a bug in the Vantage Customizer. We have out developer, Braam, working on the issue right now. We’ll publish a fix as soon as it’s ready. Very sorry about that.
Waiting forward to update.
At the moment I set my header as logo image. It works pretty nice but I am not happy with all the left/right margins.
It is kind of good idea and I would stick to this because it makes all the header clickable.
Can you help me with CSS code to remove left/right margins and have “logo” of full width?
That might look something like this:
Thank you Andrew but it still doesn’t work :(
This is what I experienced before. No mater how I try, image doesn’t want to be larger than 1080px.
At the moment, original logo image is 1280x150px and still displayed as 1080x127px
I believe it is like that because logo size is set directly in HTML code (link a tag) and in this case it reads clearly – width=”1080″ height=”127″
What can I do with this?
Thanks for adding the CSS. Chrome Developer confirms your logo is now rendering at 1280, the space available is just a bit bigger than that on most screens. To center your logo please make this change, where I’ve said:
Change that to:
Hi Andrew,
You’ve arrived a bit late :) I was able to find corresponding php section in template-tags.php and I removed width and height attributes from link. So now it is 1280px but without modifying php it was impossible.
Yo haven’t seen my last modification. I added
and it fits perfectly now :)
My question still is the same: Is it possible using CSS only?
Modifying php is a bit danger because after theme upgrade, you have to do your modifications again so I’d prefer CSS.
Unfortunately this isn’t possible with Custom CSS, the logo is being outputted in it’s constrained size. If you’re running a child theme you can copy the entire logo function into a functions.php file in the child theme and then safely edit it there:
Yes Andrew, I know this trick, but still I do not know weather this function has been modified in current upgrade or not. So I still have to compare it against updated one. It doesn’t make any difference at all.
I really do not understand your idea behind creating a cap on logo image size?
Unless you see something go wrong with your logo, which is unlikely, you can safely run this function in your child theme without comparing it to the parent after each upgrade. The if statement that starts this function off:
is specifically there so we can do just this and re-use the function in a child theme.
The function is written like this to help optimise images. Keep in mind you’re now customising the theme. 99.9% of use cases won’t involve a logo bigger than 1080px so there isn’t any point in loading one bigger, that’s the reasoning there.
Hope this helps.
Thanks for the contributions you’ve made on other threads. We really appreciate the effort there.
OK Andrew :) I like to help. I believe if you want to be helped, you have to help.
I give your suggestion a go. Thank you for your time :)
Definitely a positive point of view.
If you need a vanilla child theme to get this going, please find one here:
https://siteorigin.com/wp-content/uploads/2015/01/vantage-child-vanilla-enqueue.zip
(Just to confirm, activating a child theme does unfortunately reset Customizer and menu settings.)
Let us know if you need any further help here.
This is a private message.