The headers on all my policy pages linked in my footer menu (refund, terms of service, privacy, and contact info) overlap the main text, and when I go into the theme settings, it appears that there’s no body text block at all. I attempted to ask Sidekick for help, which provided a bunch of different code solutions that didn’t work.
The headers aren’t sticky, and there isn’t any negative padding codes.
Sidekick tried having me add style attribute wrappings to my theme and base CSS, which only added a weird padding bar to my home page (even though I added an “only policy page” addendum).
Secondly, I tried changing the header menu color scheme, as it’s currently too pale to see, and the colors refused to change. Likewise, the page background color wouldn’t change.
How can I effectively edit the policy pages? Thank you!!
This is happening because of the transparent header code you added for the homepage. You were supposed to wrap it in {% if template == 'index' %} condition but anyways, no problem. Add the code mentioned below and it will sort out your problem.
Follow these Steps:
Go to Online Store
Edit Code
Find theme.liquid file
Add the following code in the bottom of the file above </ body> tag
The built in /policies/urls aren’t rendered by your theme templates, though they do inherit some of the most basic global theme styles like background color and font. There are a few different ways to change some appearances.
Depending on the theme, you could put something like this in base.css
Thank you for the reply! Unfortunately, the background color won’t change with that code. It looks like this problem is happening on ALL our pages except for the home page. The header color scheme and menu color scheme should be dark, but they’re not turning up like that:
For that issue, it looks like you have a bunch of css at the bottom of base.css, one in particular
/* Overlay header on top of image banner */
.header-wrapper {
position: absolute;
top: 0;
left: 0;
width: 100%;
z-index: 20;
background: transparent !important;
This transparent background is what is making the background color not dark. So, if you aren’t doing the same as on the homepage (transparent header, image showing), this is causing the site background color to show through. Important note - The above css rule doesn’t target any particular page, nor does it exclude a particular page, so it’s a global rule. What you’re saying is “Make all these rules apply to all pages”. You can change this to: