Archived topic
Home page won't scroll et al. after update
14 replies · Started by Marge on March 24, 2017
Hi After updating Generate Press, some to the styling was off. I'm not able to find how to change the site background and the home page no longer scrolls.
Scrolling works when GP Premium is deactivate.
Thanks!
Marge
Hi Marge,
Can you try #1 on this page?
https://docs.generatepress.com/article/debugging-tips/
I think we need to find which non GP plugin is causing the problem.
Let us know.
The site is scrolling fine now? Let me know if this is all good :)
Thanks for your response. From what I can see the CSS is version 1.3.46. The version of Generate Press I have is 1.2.96. See: https://www.screencast.com/t/Mpz8lSHrey New selectors??
This code used to work. After I removed it, I was able to scroll.
.custom-fixed-header {
position: fixed;
top: 0;
background: #383838;
width: 100%;
z-index: 2000;
}
.custom-fixed-header + * {
padding-top: 130px;
}
I need to add back the fixed header. So, do I need to buy another license to get the 1.3.46? If yes, how can I do this as I don't see a way to upgrade on my account.
Thanks!
Marge
1.3.46 is the most recent version of GP theme and 1.2.96 is the most recent version of GP premium plugin so you are all good :)
I don't see why that CSS would cause the problem.
What are you trying fix? Looks like you are using sticky navigation already? Or you are trying to fix the Featured Employers below as well?
Let me know.
Hi, Trying to fix the top banner (above the nav). It used to work before with the CSS above. Also trying to make the sitewide container white again. Also changed with the update. All pages have black backgrounds.
https://www.screencast.com/t/NrCC0svNFKJ
Thanks!
Can you try adding the CSS back, clear/turn off Comet Cache and clear your browser cache and see if it works?
The color of container definitely shouldn't change through updates.
Let me know.
Cleared all Cache and browser cache. No change. Here's an example page. http://abilityjobs.com/job-seeker-services/
I'm more concerned about the black background than the sticky header.
Thanks!
Sorry which black background are you referring to? The "That's News to me" section?
Do you happen to have a screenshot of what the site used to look like?
The main container used to be white. The css below fixes it, but isn't that kind of odd to have to add that to a style sheet?
.site-main {
background: #ffffff;}
Custom CSS should never be added to the theme's style sheet as it will get erased through updates.
Is that how you added before?
You should be able to change those color using the customizer so they won't get erased either:
Colors > Body > Background
Colors > Content > Background
That's why this is so puzzling. I checked these earlier.
https://www.screencast.com/t/St3zJSv9rxW
https://www.screencast.com/t/8yV7lfzXtEi
I added the css through simple CSS.
And this...
position: fixed; is stopping the scroll.
.custom-fixed-header {
position: fixed;
top: 0;
background: #383838;
width: 100%;
z-index: 2000;
}
Thanks for the help! User error. Stray div in the GP hooks.
Glad I could help!