Home Forums WoodMart support forum Remove the Whitelabel option in theme menu

Remove the Whitelabel option in theme menu

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #618055

    RichardTRC
    Participant

    I would like to hide the whitelabel menu option itself entirely. Eg; activate white label options, then hide Whitelabel. Ideally through a PHP hook to unset the option from the menu if possible.

    #618415

    Artem Temos
    Keymaster

    Hello,

    You can do this with CSS code. Here is a snippet to add to the global CSS section in Theme Settings

    #wp-admin-bar-wd_white_label_section {
    	display: none !important;
    }

    and the following needs to be added to Dashboard CSS

    #wp-admin-bar-wd_white_label_section,
    .wp-submenu li a[href*="white_label"],
    .xts-nav-vertical a[data-id="white_label_section"] {
    	display: none !important;
    }

    Kind Regards

    #618707

    RichardTRC
    Participant

    Many thanks, that works great. I noticed that white label still comes up as a search result and you can access it that way I just added this too which makes that page empty 🙂

    
    [data-id="white_label_section"] {
        display: none;
    }
    #618816

    Artem Temos
    Keymaster

    Great, we are glad that you sorted it out. Feel free to contact us if you have any further questions.

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Remove the Whitelabel option in theme menu’ is closed to new replies.