Tagged: full-width submenu, transparent
-
AuthorPosts
-
June 30, 2015 at 4:18 pm #466560
Hello. I’d like to have a transparent header with a transparent fullwidth menu below the header. When I change my header to transparent the fullwidth submenu moves above the header.?
I tried this code.main_color.av-submenu-container, .main_color .av-subnav-menu a {
background: transparent;
}but didn’t work.
How could I achieve having both transparent and at the right place? Thank you.
July 1, 2015 at 2:38 pm #466998I haven’t received a reply yet and I need to put my site ‘under construction’, so I’m attaching the login details privately if you need to visit the site.
Thank you.
July 2, 2015 at 3:14 pm #467558I’m on a tight time schedule, so if you could please help me as soon as you can, I’d appreciate it.
Thank you.
July 6, 2015 at 10:57 am #468789Hi!
please refuse from bumping into your own thread, because otherwise our system marks it as “already answered” and then we can’t provide a faster reply.
It seems to me that you already achieved what you need, as your header looks good to me. If this is not the case then please provide us screenshots showing what you want to achieve (use imgur or dropbox).Best regards,
AndyJuly 6, 2015 at 3:55 pm #469035Hello. Thank you for replying.
I’m afraid I haven’t achieved what I need yet. I need my header & fullwidth menu to be transparent on pages where I use the fullscreen slider so that it is visible behind the menu/submenu etc. When I choose the header to be transparent the fullwidth submenu jumps up to the top of the page with a grey background.
Please check the link I’ve attached and let me know if you need more clarification.Thanks again.
July 6, 2015 at 4:03 pm #469046Hi!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
.av_header_transparency + #main #sub_menu1, .av_header_transparency + #main #sub_menu1 * { background-color: transparent!important; }
and then add whitespace element to the top of your page where you would like to use transparent header and fullwidth sub menu element.
Regards,
YigitJuly 6, 2015 at 4:11 pm #469059Hi. I’m afraid that didn’t work.
July 7, 2015 at 4:21 pm #469780Hey!
use this code to get rid of the gray space on top of your page:
#top .sticky_placeholder { height: 0 !important; }
Clear browser cache and hard refresh your website.
Best regards,
AndyJuly 8, 2015 at 12:31 am #470003Hi. I’ve added the code and cleared the cache. Now the submenu has no grey background but it sits at the top of the page instead of under the header. Also it doesn’t look like it works as a menu.? I added a whitespace element but that didn’t work either?
Thanks.
July 9, 2015 at 12:08 pm #470760Hey!
I removed my last code from your Quick CSS and put it back again, but could not see any difference in behavior of your menu. Grey background for submenus is still working for me when my last code is implemented:
However, your menu looks a little bit chaotic to me and it might be caused by a plugin. Are we allowed to temporarily deactivate all your plugin? Please upgrade to Enfold v3.2.2.
Cheers!
AndyJuly 9, 2015 at 3:14 pm #470932Hi.
I removed the ‘contact-1-‘ menu item, as it was a trial page, so doesn’t need to be there.
Yes, you could temporarily deactivate the plugins. Basically do whatever you think would fix the menu situation! :-)
On my Enfold panel it says that there are no updates available.?!
Thank you.
July 9, 2015 at 6:04 pm #471059Hey!
Please try updating the theme manually – http://kriesi.at/documentation/enfold/updating-your-theme-files/
Envato is having some issues with their API currently.Cheers!
YigitJuly 9, 2015 at 10:28 pm #471170I was wondering, can I upload the new Enfold version using my cPanel and not ftp?
Thank you.
July 10, 2015 at 8:57 am #471319Hi!
I think that should work since cPanel has an upload function if I’m not mistaken?
Best regards,
RikardJuly 10, 2015 at 10:35 pm #471741Hi. I have now updated the theme. So if you could please have a look again at the fullwidth submenu (which seems to just be stuck to the top of the page) and let me know what you think.
Thank you so much for all your effort.
July 13, 2015 at 12:25 pm #472327Hey!
I think this code could help a bit:
div#header_main { top: 29px; }
Cheers!
AndyJuly 13, 2015 at 2:56 pm #472475Hi. I’m afraid this didn’t help either.
Any ideas on how to resolve this? It’s strange that the minute I change the header to transparent the full-width submenu moves to the top of the page and it doesn’t even work!? Seriously stuck with this issue.
Thank you.
July 14, 2015 at 9:46 am #472916Hi!
your header is transparent and has no grey background anymore. So it seems fine to me. I don’t know which changes you want now. Can you give us a screenshot/mockup showing what you need? use imgur or dropbox.
Regards,
AndyJuly 14, 2015 at 10:16 am #472951Hi.
Maybe I’ve confused things now, so sorry about that.
The header is transparent but the full-width menu is not at the right location. I’d like it to be below the header, as shown on the image in the attached link.
– I wasn’t sure how to send the screenshot through dropbox… :-/ –Thanks again.
July 14, 2015 at 11:00 am #472973Hi!
this make things a little bit more clear to us. Thanks for the link. Try this code:
.container { top: 99px; } div#header_main { top: -118px; }
and adjust as needed.
Cheers!
AndyJuly 14, 2015 at 11:19 am #472991Thanks for your quick reply Andy.
I tried this code, but again the fullwidth submenu appears on top of the header. When I have a non transparent header everything appears normal; the minute I change it to transparent the submenu jumps to the top.
If this (the transparency) doesn’t work, maybe an idea would be to add a semi transparent background to both header and fullwidth submenu? Would that be more manageable?
Thank you.
July 14, 2015 at 12:26 pm #473083Hey!
I am confused, because I thought we are talking about the 1.) link in private content, but now I see a totally different one …
However, I placed a new code into your Quick CSS (in the very top) and can see what you mean with the jumping container. I think this is caused by another code you are using. Please remove everything else to see if this is true. Then you can put every code you have one by one to see which one is causing it.
Hope this helps.
Cheers!
AndyJuly 14, 2015 at 3:47 pm #473250Really sorry about the confusion with the links.
So, I did what you said and the code you added works in terms of bringing the submenu down, below the header, but the actual submenu doesn’t work – links aren’t clickable. And it also messes up the other pages.
Can I ask if there is a code that I can add to make the background of both header and fullwidth submenu semi transparent? Maybe this way it won’t jump up on the page and it will sort itself out?
Thank you.
July 15, 2015 at 9:49 am #473571Hi!
I don’t think changing color will help against the jumping header. Please follow the instructions and let us know when you are done.
Regards,
AndyJuly 16, 2015 at 10:54 pm #474585Hi.
I did what you suggested and I tried to find a solution to it using a combination of codes… So I managed to sort it using these codes:
#top .av-subnav-menu > li { padding: 70px 0; }
#top .av-submenu-container { height: 30px; border: none!important; }
#top .sticky_placeholder { height: 0px!important; }.main_color.av-submenu-container, .main_color .av-subnav-menu a {
background: transparent;
}
#sub_menu1 {
background: transparent!important;
}But, if you look at link no.1 you can see it works fine. But then it doesn’t work for links no.2 & 3. Do you think you could possibly provide a code which applies the above code only to specific pages? I need it to be like this on all the portfolio items? I tried something myself but with no luck.
Thank you for your help.
July 17, 2015 at 10:49 am #474782Hey!
you could try to include page-id into your css code. Here I show you how to find your page-id: http://www.wpbeginner.com/beginners-guide/how-to-find-post-category-tag-comments-or-user-id-in-wordpress/
Then your code would look something like this:
.page-id-12345 #top .av-subnav-menu > li { padding: 70px 0; }
Cheers!
AndyJuly 17, 2015 at 2:45 pm #474961Hi Andy,
I tried that, but didn’t work. It’s driving me insane at this stage!
Basically if I add #top .av-subnav-menu > li { padding: 70px 0; } works on one page (link 1) and if I add #top .av-subnav-menu > li { padding: 2px 0; } works on the other pages (link 2 & 3) but I can’t find a way to have both. When I added page-id in front didn’t make any difference.
Any other ideas?
Thanks again.
July 20, 2015 at 12:01 pm #475710Hey!
I already told you that you have to include the specific page-ID in your code. Please have a look on my previous post, where I included a link to a tutorial about finding your page-ID / post-ID.
For the link you mentioned in this post use this:
1.) postid-92
2.) page-id-14
3.) page-id-16Cheers!
AndyJuly 20, 2015 at 12:34 pm #475729Hi.
Yes, I had tried that. I added the page-id and post-id giving different values to each, but it still didn’t fix it. It fixes one page but not the other. :-(
Thank you for trying to help. I think that there may be some kind of fault within the theme? Maybe? That the fullwidth submenu doesn’t respond well with a transparent header? At some point I removed all the Quick CSS code & deactivated all the plugins and the fullwidth submenu still jumped to the top when I changed my header to transparent.
I feel we have tried pretty much everything at this stage.
I do really like the theme and I even bought it again for another site, but it’s been driving me insane with this.
Let me know if there is something we haven’t tried so if there’s anything I’m doing wrong.
Thanks again.
July 20, 2015 at 1:35 pm #475783Hey!
I see this code in your Quick CSS field:
page-id-14 #top .av-subnav-menu > li { padding: 2px 0; } page-id-14 #top .av-subnav-menu > li { padding: 2px 0; } postid-92 #top .av-subnav-menu > li { padding: 70px 0; }
which does not seem to be correct to me, because there should be page-id-16 instead of page-id-14 twice, right?
Regards,
Andy -
AuthorPosts
- The topic ‘Full width submenu with transparent header’ is closed to new replies.