Hi, I tried a bunch of things, but somehow I’m doing something wrong.
See url
I want the logo to be full width (its 1080 x 200px), but no CSS code seems to affect it..
Thanks for any help!
regards,
Chris
URL: http://rinconolon.ec
Hi, I tried a bunch of things, but somehow I’m doing something wrong.
See url
I want the logo to be full width (its 1080 x 200px), but no CSS code seems to affect it..
Thanks for any help!
regards,
Chris
URL: http://rinconolon.ec
This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.
From what I can tell in your code, you have a bunch of CSS elements that want to max out the width to 1080px.
What I would suggest is make your img take something like this for the logo.
and then removing all the max-width styles that apply to that logo.
I think I was trying different stuff when you looked. my css is like this, and your code does nothing…. thanks for the effort tho!
Hi Gijs
Thanks for reaching out.
If you have a graphic designer that has this original file or perhaps you do, what would work really well is to separate the layers. Save your logo as a 1080px wide PNG with transparent background. Then add the background image to Appearance > Customize > Page > Masthead Background Image. That would give you a responsive scalable solution that looks great.
Ok, so I uploaded a transparant logo (so at leastthe center is clickable…)
But, the background logo keeps repeating. It’s also not the correct size (200px).
There is something here I can’t wrap my head around….
Hi Rincon
Please add the following to your custom CSS
This will make the background fill the header.
Hope this helps
Magus
Hi, I removed the bg color and changed the url to the correct (current) bg image.
It seems to work fine,except for that it does not size full page width. Do you know what I need to put for background size?
Hi
The missing line from above will sort that
Background-size: cover;
Magus
well, no. I left it out cause it didn’t do anything :) it’s in now, so you can see…
changing it into 100% or other values doesn’t seem to help either … :D
thanks for helping by the way!
Hi
There is a max-width setting that is taking priority from an earlier tag. Please try adding this to the bottom of the supplied CSS
Magus
Forgot to add, please change the other setting from 100% back to cover.
Magus
yep, with your last message Igot it to work! thanks!
I guess i just need to resize my background logo, strangely enough (since both the logo and the bg logo are 200px…)
Hi,
Right, forget all that.
Please change the setting for background-size back to ‘background-size: cover;’ and remove the term .hgroup from the opening tag. Overriding the max width setting unfortunately does not completely cover the entire background due to margin/padding settings.
Have tried the original post settings with the correct image and it should work as long as the image URL is correct.
Magus
Hey guys
Rincón, the background image repeat we can sort out no problem.
It looks like your logo image file is completely transparent. Sorry if I wasn’t clear, let me try explain with images rather.
When it was created your logo was a separate layer to the background image, a separate layer to the beach and trees image. What need ideally is for those two to be separated into two files again. In order to do this you’ll need the original layered file.
The section outlined in red. You need that saved as your logo, but, with a transparent background. That image should only contain your logo, no beach, ocean etc.
Then the beach ocean image, minus your logo will be used for the background image.
This will give you a much more flexible header.
Hi Andrew, thanks for going out of your way to explain it, it was because of it being late at night that Ididn’t seperate them before :) It does make everything a lot better this way.
I do still have the background image repeat problem. Magus’s CSS suggestion above doesn’t help either…
At least now the height is OK, the text is centered and it’s clickable :)
Super sounds like we are making progress. I'll send take a look as soon as
I'm online again tomorrow. Thanks.
Hi Rincon
Now that you have changed the background the custom CSS should read
The CSS I posted earlier was based on the background image in the header at the time. I have added the .hgroup container just to target the CSS a bit better.
Hope this helps
Magus
Nice guys, looking good!
Rincon, the following line can be removed from the #masthead selector in Custom CSS:
That, as far as I know doesn’t work.
You now have two options. You can either use:
background-size: cover;
As Magus has sent through or you can use:
background-size: 100%;
background-position: center;
Each will handle resize a little differently.
If you could perhaps get a version of your background that was a little larger, that might help.