Support for Envato Buyers Forums DGWork hide discount tab from account page

Viewing 7 reply threads
  • Author
    Posts
    • #21710
      goldeneaglesteam
      Participant

      hi,there is any option to hide discount tab from account page ?

    • #21724

      Add the following CSS to Appearance > Customize > Additional CSS

      .dgwork_user_dropdown li:nth-child(3){
          display:none;
      }
      

      Please note that you should change 3 to the actual order number of the discount tab on your page. If the discount tab is order 4 on your account page, you should write as .dgwork_user_dropdown li:nth-child(4){…}

      Thanks

    • #21736
      goldeneaglesteam
      Participant

      thanks … it work

    • #21754

      Great!

    • #23197
      goldeneaglesteam
      Participant

      hi, this code work fine , but it still appear in mobile (in the drop down menu ).. how to hide it also form this menu ?

    • #23214

      Hi

      We will enhance this issue in the later version, now you can hide it from the mobile menu with the following CSS

      .dgwork_user_nav select option:nth-child(4){
         display:none;
      }

      4 means discount is the fourth tab in the menu.

      Thanks

    • #23234
      goldeneaglesteam
      Participant

      thank you

    • #23281

      That’s all right.

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