
-
AuthorPosts
-
February 6, 2019 at 8:16 pm #1063741
Hi,
I’m trying to customise the content element fullwidth sub menu.
I’d like the background colour to be white with 0.9 opacity and have tried several times in quick css but did not get it working.
I’d also like the menu items to change colour when hovering over them. Is that also possible with css or is there an ‘easier’ way?The fullwidth sub menu ID is av-custom-submenu-1.
Thanks in advance.
February 7, 2019 at 8:31 am #1063908Hey Diana,
Try adding this css code in QUick CSS (located in Enfold > General Styling):
#av-custom-submenu-1 { background-color: rgba(255,255,255,0.9); }
If that doesn’t work, then please try this instead:
#sub_menu1 { background-color: rgba(255,255,255,0.9); }
Best regards,
NikkoFebruary 7, 2019 at 10:51 am #1064001Hi Nikko,
thanks for your fast reply.I tried both – also adding the page id – but it didn’t work.
Are there any other ways?
Thanks and regards.
February 7, 2019 at 10:59 am #1064011Hi difu,
Can you give us a link to your site? so we can inspect further.
And try to figure out some css code that should work.Best regards,
NikkoFebruary 7, 2019 at 11:08 am #1064016Yes sure.
enclosing the details for you in the private content area to log in.
Site is still under construction.
Thanks :)February 7, 2019 at 12:52 pm #1064081Hi difu,
This code should work:
#sub_menu1 { background-color: rgba(255,255,255,0.9); }
However I don’t see the code reflecting on your site, do you have a caching plugin enabled? please flush out the cache.
Best regards,
NikkoFebruary 7, 2019 at 1:36 pm #1064118Hi Nikko,
no – i didn’t have a caching plugin enabled but WP Hide – which I deactivated. Now the sub-menu changes when it sticks to the top but still shows as white when not sticking to the top. Is that normal?
kind regards,
February 7, 2019 at 2:22 pm #1064133Hi difu,
I have checked it and now it reflects properly.
The reason it’s still showing a white background when it’s not sticking is because the background behind it is white but if you try to change it to other color then you’ll see it has transparency.Best regards,
NikkoFebruary 7, 2019 at 5:18 pm #1064189Hi Nikko.
Just one last question. Shouldn’t it be possible to drag the fullwidth submenu element into a colour section? I’ve tried a few times to change the background colour but it’s not possible.
ThanksFebruary 8, 2019 at 9:34 am #1064488 -
AuthorPosts
- You must be logged in to reply to this topic.