Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1282441
    gregorylmartin
    Participant

    My website is landscapelightingpros.com.

    I would like to move the free trial button over to the far right, then give it a background color. But, I only want the background color to be right around the menu item, leaving some black space around all the edges. When I try this it simply doesn’t work. I just want the free trial button to look really good at the top right of the page. I know how to move it to the far right, I just can’t seem to get the background color to take up the right amount of space. In fact, when I try to give it padding, it moves under the home button and expands the menu making it look ridiculous. Any help or ideas would be appreciated.

    #1282705
    Rupok
    Member

    Hi there,

    Thanks for writing in! You can add the item as last item. Then add this under Custom > CSS in the Customizer.

    .x-navbar .desktop .menu-item:last-child {
      position: absolute;
      right: -200px;
    }
    .x-navbar .desktop .menu-item:last-child a > span {
      background-color: rgb(121, 186, 37);
      padding: 10px;
      margin-top: -10px;
    }

    Hope this helps.

    #1327243
    gregorylmartin
    Participant

    That code just makes my menu item disappear.

    #1327457
    Rupok
    Member

    Hi there,

    Thanks for writing back. I don’t see the suggested code rather some other code that might have overwriten the code. I have tested the code on your site and should work fine. Make sure to add this properly and update us keeping the code if that doesn’t work.

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