Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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.

    #1063908

    Hey 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,
    Nikko

    #1064001

    Hi 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.

    #1064011

    Hi 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,
    Nikko

    #1064016

    Yes sure.
    enclosing the details for you in the private content area to log in.
    Site is still under construction.
    Thanks :)

    #1064081

    Hi 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,
    Nikko

    #1064118

    Hi 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,

    #1064133

    Hi 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,
    Nikko

    #1064189

    Hi 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.
    Thanks

    #1064488

    Hi difu,

    No that is not possible, full width elements can’t have container elements. If they did then they wouldn’t be full width.

    Best regards,
    Rikard

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.