Support for Envato Buyers Forums DGWork How can I add a Button in my Navigation Menu?

Viewing 3 reply threads
  • Author
    Posts
    • #12786
      bdendas
      Participant

      I would like to add a button to our navigation menu for SUBMIT YOUR BRAND. I would also like the text within the icon to stay white while scrolling down the page. How do I go about doing this?

      E.g. (https://imgur.com/a/vgxvW)

    • #12789

      Hi

      I see you added a class name “yourclass” to this menu item, so you could change this item style by the following custom CSS

      .main-navigation ul li.yourclass {
          background: #f00;
          color: #fff!important;
          line-height: 30px;
          border-radius: 3px;
      }
      .main-navigation ul li.yourclass a{
          color:#fff!important;
      }

      For adding menu icon, just recommend you install menu icon plugin https://wordpress.org/plugins/menu-icons/

      Thanks

    • #12793
      bdendas
      Participant

      Looks good, but having an issue when the page is selected

      E.g. https://imgur.com/a/HwmmW

    • #12813

      Please append this new CSS

      .main-navigation ul li.yourclass.current-menu-item a{
         height:auto!important;
         border:none!important;
      }

      Thanks

Viewing 3 reply threads
  • You must be logged in to reply to this topic.