Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1031995
    TIS123
    Participant

    Hi,

    Before you were so kind to help me with some CSS code to change the menu hovers: https://community.theme.co/forums/topic/navbar-hover-solid/.

    Unfortunately a little problem is shown with the padding of the most right menu-option, in my case the Theme-X search button. Can you help me with some code for the correct padding? Please see attachment (graphic). Below the login and site URL.

    Best regards, Hans.

    #1031996
    TIS123
    Participant
    This reply has been marked as private.
    #1031997
    TIS123
    Participant

    The attachment:

    #1032352
    John Ezra
    Member

    Hi there,

    Thanks for writing in! You can add this under Custom > CSS in the Customizer or in your child theme’s style.css file.

    li.menu-item.x-menu-item.x-menu-item-search a span {
        padding-right: 20px;
    }
    #1033513
    TIS123
    Participant

    You’ve solved my little problem, thanks!

    #1033527
    Rupok
    Member

    You are welcome!

    Glad that it helped. Feel free to let us know if you face any other issue. We’ll be happy to assist you.

    Thanks for using X.

    Cheers!

    #1035870
    TIS123
    Participant

    Hi,

    Sorry to say, but the menu padding issue as mentioned above is back 🙁 The CSS code (see post John Ezra) is still in the custom CSS file as shown in the attachment but the padding has gone. Tried over and over again without succes. Will you please assist to solve this?

    Login and URL is still the same a in private replay above.

    Best regards, Hans.

    #1036316
    Nabeel A
    Moderator

    Hi again,

    Please replace the previous code with this one:

    .x-navbar-static-active .masthead-inline .desktop .x-nav>li:last-child>a, .x-navbar-fixed-top-active .masthead-inline .desktop .x-nav>li:last-child>a {
        padding-right: 20px !important;
    }

    Let us know how this goes!

    #1037034
    TIS123
    Participant

    It’s magic, solved 😉 Thanks for your support!

    Best regards, Hans.

    #1037056
    Friech
    Moderator

    You’re more than welcome, glad we could help.

    Cheers!

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