- This topic has 14 replies, 3 voices, and was last updated 7 years, 9 months ago by Tom.
-
AuthorPosts
-
July 11, 2016 at 7:18 am #208320Craig
Hello,
Just updated the GP theme (btw – using a child) and the premium add-ons.I’m using a transparent header on the home page (via merge site header setting), but it’s not working now. I just see the background color instead of the top of the hero image that should appear there.
It’s a localhost install, so I can’t provide a link.
Running PHP 5.5.24
The following was suggested on a Facebook group, but it doesn’t seem to help…
generate-merged-header .site-header { position: absolute; top: 20; left: 0; width: 100%; z-index: 1000; }
Any other suggestions?
Thanks!
July 11, 2016 at 7:19 am #208321TomLead DeveloperLead DeveloperThe function should work if you’re using the “Content” area inside the Page Header metabox.
If you’re not using that content area, you’ll need to re-apply the absolute positioning.
Try adjusting the above CSS to this:
.generate-merged-header .site-header { position: absolute; top: 20px; left: 0; width: 100%; z-index: 1000; }
July 11, 2016 at 7:27 am #208331CraigThanks Tom…it’s better. Transparency is back. The only issue now is that when I’m logged in to the dashboard, the top margin isn’t enough to keep it from covering my secondary menu.
Screenshot…
https://www.dropbox.com/s/rz4ijh0luqut3h8/Screenshot%202016-07-11%2009.25.36.png?dl=0NOTE: I’m using a revolution slider shortcode in the content settings of the page header.
July 11, 2016 at 7:29 am #208332TomLead DeveloperLead DeveloperIf the content you’re wanting to header to sit on top of it inside the content settings for the page header, the above CSS shouldn’t be necessary.
It would be great if I could see the site – any chance you have a live server to test it on?
For now, you can move your header down more by increasing that 20px value in the CSS.
July 11, 2016 at 7:37 am #208342CraigSorry…it’s on my local computer for a few more days.
Yep, I bumped up the top to 40px, and it’s OK…the only issue is when logged in to the dashboard it’s out of place due to the admin bar. I can live with this for now.
If I remove the CSS though, the content (rev slider) doesn’t appear. I even tried a few different z-index settings, but no luck.
Thanks
July 11, 2016 at 7:38 am #208345TomLead DeveloperLead DeveloperOnce you get it up on a live server let me know and we’ll get it working without the extra CSS π
July 11, 2016 at 7:39 am #208346CraigThanks mate.
July 11, 2016 at 11:20 am #208453TomLead DeveloperLead DeveloperNo problem π
July 11, 2016 at 3:27 pm #208518CraigHi Tom,
I went ahead and threw this up on my hosting server for testing & dev.http://gptest.craigberrymedia.com
I went ahead and removed the CSS fix you supplied so you could see what’s happening.
In the header content area, I have a Revolution Slider shortcode.
In the page editor > page header> advanced settings, I have ‘merge with site header enabled’ and ‘transparent navigation’ enabled.
Thanks!
CraigJuly 11, 2016 at 3:56 pm #208528TomLead DeveloperLead DeveloperHi Craig,
I had neglected to realize that some people are using their own background (sliders in the content for example).
The new system works way better if your background is set in the add-on (color, image, video), but not so great if your background is in the content tab.
If you’d like to email me (https://generatepress.com/account), I can send you a beta version I’ve been working on today.
It has an option in “Advanced Settings” that says “Background image inside content tab”.
Once that’s checked, it should work just like it did before.
Let me know π
July 11, 2016 at 4:00 pm #208532CraigJuly 11, 2016 at 4:03 pm #208534TomLead DeveloperLead DeveloperSent π
July 11, 2016 at 11:39 pm #208594TomLead DeveloperLead DeveloperFor anyone following along, a new option has been added into the next version for those of you wanting to use your own background method (slider in the content for example).
Will get the update out soon π
July 14, 2016 at 6:55 am #209579DaniHi.
I’m interested in that beta too. I have the same issue: merge with site header, don’t work with a slider like RevSlider.
Thx!
July 14, 2016 at 9:04 am #209629TomLead DeveloperLead DeveloperHi Dani,
I’m trying to get the release ready for today, but it doesn’t hurt to have testers before releasing.
You can contact me through the contact form and I’ll send it over π https://generatepress.com/contact
-
AuthorPosts
- You must be logged in to reply to this topic.