- This topic has 16 replies, 2 voices, and was last updated 9 years, 3 months ago by Andrew Misplon.
Tagged: header background sticky ultra
- AuthorPosts
- June 19, 2015 at 5:30 pm #1697
pgrenierParticipantHey there,
Ultra theme has been wonderful for me; thank you for developing it!
I have been trying to change the color on the menu and have been successful until I scroll down. When using the sticky menu, the color changes to white.
Is there a way to change the color on the sticky menu as well?
Thank you for any help,
— Paul Grenier
June 19, 2015 at 5:44 pm #1698
Andrew MisplonKeymasterHi Paul
Thanks for your support, glad to hear Ultra has been useful.
Please remember not to edit style.css directly as all WP themes overwrite their theme folder during updates. Let me know if you need help recovering from a style.css edit situation.
Using a plugin like Simple Custom CSS you can try the following:
/* Header */ .site-header { background: #ffffff; } @media (min-width: 1024px) { .overlap .site-header:not(.fixed) { background: rgba(255, 255, 255, 0.9); } .site-header.site-header-sentinel.fixed { background: rgba(255, 255, 255, 0.9); } }
Edit as required.
#ffffff
is white and so is255, 255, 255
(RGB).0.9
is opacity. Change that to 1 to remove opacity.Here is a hex (#ffffff) to RGB (255, 255, 255) tool if you need it: http://hex.colorrrs.com/.
Let me know how you come along.
June 22, 2015 at 2:09 pm #1700
Andrew MisplonKeymasterQuick follow-up to see how this went 🙂 Let me know if you need any further help.
June 22, 2015 at 9:26 pm #1701
pgrenierParticipantAndrew,
I am sorry for the delay in my response. That worked like a charm. Seemed like I had half of what I needed
Thank you again for a quick response.
— Paul.
June 22, 2015 at 9:28 pm #1702
Andrew MisplonKeymasterNo problem.
Awesome 🙂 Really glad to hear that did the trick.
If anything else comes up, please, let me know.
Cheers for now.
August 24, 2015 at 9:51 pm #2154
pgrenierParticipantHey Andrew,
I updated the theme and now the header is not keeping the same color across both states. Is there anything that I need to change that is different than the solution you gave me above? FYI – I am using a child theme, which I thought would prevent me from having to change things on updates.
Thank you again for any help,
— Paul Grenier
August 24, 2015 at 9:53 pm #2155
Andrew MisplonKeymasterHi Paul
Sorry to hear about the hassle.
Is the Custom CSS we previously inserted still saved in your Custom CSS plugin or child theme style.css file?
August 24, 2015 at 10:05 pm #2156
Andrew MisplonKeymasterIf you just upgraded from free to premium, please, check what you have set at Appearance > Customize > Theme Design > Header > Header Background Color.
I’m just guessing at the moment. If you’d like to send a link to your site you can use the Set as private reply checkbox below the comment field. I should be able to find the problem quite quickly then.
Thanks
August 24, 2015 at 10:12 pm #2157
pgrenierParticipantIt is in the child theme style.css.
August 24, 2015 at 10:13 pm #2158
Andrew MisplonKeymasterThanks for the update; I’d need to take a look to try figure out what’s happened.
August 24, 2015 at 10:22 pm #2159
pgrenierParticipantMeaning at the site? Or is there another way that I can send you the files or excerpts from the code? The site is currently hidden because it does not have approval to be visible to the public yet.
August 24, 2015 at 10:27 pm #2160
Andrew MisplonKeymasterThese kind of CSS problems are really easy to inspect using Chrome Developer tool. Each browser has it’s own developer tool. So, unfortunately, without inspecting the site, I’ll just be guessing as to what the problem is. I’m online now, if you’d like you could take the site out of maintenance mode for 5mins and send the link privately using the Set as private reply checkbox below.
August 24, 2015 at 10:31 pm #2161
pgrenierParticipantThis reply has been marked as private.August 24, 2015 at 10:35 pm #2162
Andrew MisplonKeymasterApologies for the hassle. Please, can we try this in your child style.css file:
.site-header.site-header-sentinel.fixed { background: rgba(104, 95, 69, 0.9); }
August 24, 2015 at 10:37 pm #2163
Andrew MisplonKeymasterSorry, let’s make it:
.site-header.site-header-sentinel.fixed { background: rgba(104, 95, 69, 0.9) !important; }
- AuthorPosts
You must be logged in to reply to this topic.