Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #897726
    SPACECOWB0Y
    Participant

    I would like to add a style change to my navbar menu so that the text has drop shadow. Something like this:

    text-shadow: 1px 1px 1px rgba(0,0,0,1);

    I will need it to work in the pull down section for Shop as well so that the text shows up.

    My website is hadassahjewellery.com

    Great theme by the way. Thanks X! 🙂

    #897753
    Nico
    Moderator

    Hi There,

    Thanks for writing in.

    To add shadow to your texts, add this in your customizer’s custom CSS:

    .x-navbar .desktop .x-nav > li > a > span {
        text-shadow: 1px 1px 1px rgba(0,0,0,1);
    }
    

    Hope it helps.

    Let us know how it goes.
    Thanks.

    #897853
    SPACECOWB0Y
    Participant

    It added it to the main navbar but not to the dropdown menu. How can we get the dropshadow on the text there?

    #898352
    Lely
    Moderator

    Hi There,

    Please also add the following CSS:

    .x-navbar .desktop .sub-menu a >span {
        text-shadow: 1px 1px 1px rgba(0,0,0,1);
    }

    Hope this helps.

    #898444
    SPACECOWB0Y
    Participant

    That did it! Thanks.

    One more question 🙂

    Can you help me change the background of the submenu to a light grey? I tried the code below in the css but it just changed the color behind the text and not the submenu box.

    .x-navbar .desktop .sub-menu a >span {
    background-color: #D3D3D3;
    }

    #898447
    SPACECOWB0Y
    Participant

    That did it! Thanks.

    One more question 🙂

    Can you help me change the background of the submenu to a light grey? I tried the code below in the css but it just changed the color behind the text and not the submenu box.

    .x-navbar .desktop .sub-menu a >span {
    background-color: #D3D3D3;
    }

    #898960
    Thai
    Moderator

    Hi There,

    Please try with this CSS instead:

    .x-navbar .desktop .sub-menu {
        background-color: #D3D3D3
    }

    Hope it helps 🙂

    #899220
    SPACECOWB0Y
    Participant

    Thanks! Yall are very helpful.

    #900082
    Lely
    Moderator

    You’re welcome!

    Always,
    X

    #1063903
    SPACECOWB0Y
    Participant

    Is it possible to move the submenu down so that when you hover on the menu item the submenu appears just below it?

    #1064345
    Paul R
    Moderator

    Hi,

    You can add this under Custom > Edit Global CSS in the Customizer.

    
    body .x-navbar .desktop .x-nav > li ul {
        top: 170px;
    }
    

    Hope that helps.

    #1065427
    SPACECOWB0Y
    Participant

    That is fantastic. Thank you!

    #1065507
    Joao
    Moderator

    Great to hear it.

    Let us know if we can help you with anything else.

    Joao

    #1065583
    SPACECOWB0Y
    Participant

    Thanks Joao,

    2 quick things.

    We have changed fonts in our navbar and I have noticed that the menu items with drop down menus have moved down so that they are lower than the other menu items. How can I fix that?

    And is there a way to change the font in the sub menus to the same font as the navbar font but only the sub menus?

    Thanks again!

    #1065882
    John Ezra
    Member

    Hi there,

    Thanks for updating the thread! To assist you with this issue, would you mind providing us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything. Thanks!

  • <script> jQuery(function($){ $("#no-reply-897726 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>