-
AuthorPosts
-
February 16, 2017 at 12:54 am #747734
Howdy,
I set up the home page of my site to have a full screen video with a transparent glassy header and white type.
The issue is the home page will be the only one with a transparent header and white type. While I’ve managed to make the non-active links the appropriate color (a medium gray, #666666) the active links are still white.
Here’s the Quick CSS I’ve used on this so far, and you’ll see a link to the home page and a page without the transparent header in the private content area.
.header-scrolled .av-main-nav > li.current-menu-item a > .avia-menu-text {
color: #666666 !important;
}.header-scrolled .av-main-nav > li:hover a > .avia-menu-text {
color: #666666 !important;
}.main_menu ul:first-child > li > a { font-size: 16px; }
Thanks!
February 20, 2017 at 5:04 pm #749468Hey!
Sorry for the late reply!
Please go to Enfold theme options > Header > Transparency Options and change transparent menu colors as needed
Best regards,
YigitFebruary 20, 2017 at 6:31 pm #749514Hi Yigit,
Unfortunately that’s not fixing the issue. It’s not the transparent menu color that’s the issue, it’s the text color. (But I did give it another shot via transparency options and General styling header font color settings–no luck.)
On the homepage (see below), we have the glassy transparent header just right–white font for menu items, white font for acitve links. (we would like to be able to have a different color bar under the link if possible, right now I can’t change it from #666666 otherwise I’ll overwrite other font color settings, but this isn’t critical).
But when we go to an interior page (see below), we have the menu color they way we want it (white) and the menu items the way we want it (#666666) but the active links turn white–causing the text to dissapear.
Put it another way, what’s the quick CSS for separate header styling on the homepage with a fullscreen video and transparent glassy header vs interior pages without a fullscreen video and normal header?
Thanks, sorry if I’m being confusing!
February 24, 2017 at 5:56 pm #751511Hi,
Thanks a lot for your patience and for using Enfold.
Please try this code in the General Styling > Quick CSS field:.header_color .main_menu ul:first-child > li.current-menu-item > a, .header_color .main_menu ul:first-child > li.current_page_item > a, { color: #666666;}
Best regards,
MikeFebruary 24, 2017 at 11:22 pm #751639Thanks Mike,
One step close-r-we have #666666 in the sticky menu, but not when it’s full size at page top.
February 25, 2017 at 12:29 am #751656Hi,
Oh I see my mistake, please try this:.header_color .main_menu ul:first-child > li.current_page_item > a { color: #666666;}
Thanks a lot for your patience and for using Enfold.
Best regards,
MikeMarch 2, 2017 at 10:48 pm #754680Thanks Mike and sorry for the delay,
Got pulled on a different project until now.
So close! Now it’s just the hover that still turns white!
March 4, 2017 at 4:58 pm #755622March 6, 2017 at 5:49 pm #756521Hey Mike, that didn’t fix the total problem, the nav item still turns whit when hovered over and dissapears over the white background.
Any way I could get some help on this? This is a weeks running problem.
Here’s all the short code currently in use on the site. Check out the private link and mouse over any non-active menu item, you’ll see what I mean.
Thanks
——————
.header_color .main_menu ul:first-child > li.current-menu-item > a, .header_color .main_menu ul:first-child > li.current_page_item > a, { color: #666666;}
.header_color .main_menu ul:first-child > li.current_page_item > a { color: #666666;}
.helvetica-websave {
font-family: Ingra, “HelveticaNeue”, “Helvetica Neue”, Arial, Verdana, sans-serif !important;
}.sort_by_cat a.active_sort span {
background: transparent;
color: #f36e21;
font-size: 16px;
}h1, h2, h3, h4, h5, body{
font-family: Ingra !important;
}.avia-menu-text {
font-family: Ingra !important;
}h1, h2, h3 {
text-transform: none !important;
}.header-scrolled .av-main-nav > li.current-menu-item a > .avia-menu-text {
color: #666666 !important;
}.header-scrolled .av-main-nav > li:hover a > .avia-menu-text {
color: #666666 !important;
}
a.aviablank.avia-testimonial-link {
color: #666666 !important;
}.main_menu ul:first-child > li > a { font-size: 16px; }
March 11, 2017 at 4:21 pm #759377Hi,
Thanks a lot for your patience, Try this code in the General Styling > Quick CSS field:#avia-menu li:hover a { color: #666666; }
Best regards,
MikeMarch 13, 2017 at 5:26 pm #760116Hey Mike,
Thank you for your patience as well,
That solved our problem, but for anyone checking around threads for a similar solution, just a heads up that the fix does not work with Custom Link items for some reason.
I had a couple up that I was just messing with that I did not intend to keep, so I just got rid of them and the last piece of code did the trick. Not sure how you’d modify it to include custom links as well.
Thanks!
March 14, 2017 at 7:22 am #760475Hi,
The code should apply to custom links as well, was there anything particular about them?
Best regards,
RikardMarch 15, 2017 at 4:25 pm #761482Hey Rikard,
It just didn’t work on them–still went to white at hover–but they were just placeholders for our site, so I removed them. At this point it’s not possible for me to put them back so you can get a peak (site’s under review) but if it’s helpful, here’s the full short code we got going on, perhaps we’re getting some bits and pieces that aren’t playing nice with one another.
.sort_by_cat a span {
font-size:20px!important;
}#avia-menu li:hover a {
color: #666666;
}.avia-no-number { opacity: 1; }
.av-menu-button-colored span.avia-menu-text {
background: #f36e21!important;
color: white !important;
}.header_color .main_menu ul:first-child > li.current-menu-item > a, .header_color .main_menu ul:first-child > li.current_page_item > a, { color: #666666;}
.header_color .main_menu ul:first-child > li.current_page_item > a { color: #666666;}
.helvetica-websave {
font-family: Ingra, “HelveticaNeue”, “Helvetica Neue”, Arial, Verdana, sans-serif !important;
}.sort_by_cat a.active_sort span {
background: transparent;
color: #f36e21;
font-size: 16px;
}h1, h2, h3, h4, h5, body{
font-family: Ingra !important;
}.avia-menu-text {
font-family: Ingra !important;
}h1, h2, h3 {
text-transform: none !important;
}.header-scrolled .av-main-nav > li.current-menu-item a > .avia-menu-text {
color: #666666 !important;
}.header-scrolled .av-main-nav > li:hover a > .avia-menu-text {
color: #666666 !important;
}
a.aviablank.avia-testimonial-link {
color: #666666 !important;
}.main_menu ul:first-child > li > a { font-size: 16px; }
March 18, 2017 at 6:51 pm #762955Hi,
Can you please point to a custom link that the css is not applying to? I looked at your site and didn’t see the issue.Best regards,
MikeMarch 31, 2017 at 5:34 pm #770098Hey Mike,
Yeah I’m sorry I had to delete all the experimental pages and such from the site–no custom links exist up there any more for you to check out.
April 2, 2017 at 10:14 am #770571Hi,
Ok, thanks for the feedback. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
RikardApril 5, 2017 at 5:45 pm #772693Hey Rikard,
We’re good to close this out and thank you very much for asking. While there may be a thing or two left to work out for special cases, the short code in this thread should work really well for most folks who need different color nav links for transparent / normal pages!
Thanks again to you and Mike for the help,
MJ
-
AuthorPosts
- The topic ‘Transparent menu settings interfering with non-transparent pages’ is closed to new replies.