Report Issues
English Korean French Chinese Spanish Romanian Russian German Polish Finnish Italian Japanese Portugese

HIDE INDIVIDUAL LabTabs WITH CSS

by Evil Genius on 17th Jun 2009 | View all blogs by Evil Genius

labtabs.png


If you want to hide individual LabTabs but retain the page content (so you can link to it discretely), this is really easy with CSS.

Just use the following code in your Ads & Custom HTML area within the Admin Center. Put the code into the Head Meta Data area.

headmetadata.jpg

Change out the "_forum" below for whatever element ID you have assigned to each tab, and repeat this same block of CSS for every tab you want to hide (only use one set of style tags though).

<style>
#labtab_forum{
display:none!important
}
</style>

Comments

1 Comment

  • Ryan
    by Ryan 8 months ago
    you can do comma separated too if you want to hide multiple tabs with less code.

    #labtab_forum, #labtab_members, #labtab_video {
    display:none!important
    }
Please login or sign up to post on this network.
Click here to sign up now.