Treestyletab: How to get rid of X on tabs please?

Created on 17 Dec 2017  路  1Comment  路  Source: piroor/treestyletab

Sorry for all the questions.

Most helpful comment

Add one of the following CSS codes under the "Advanced" section in Tree Style Tab's option page in the "Extra style rules for sidebar contents" textbox.

To remove close button completely:

.closebox {
  display: none;
}

To hide close button (it still takes up space and can still be clicked on):

.closebox {
  opacity: 0 !important;
}

To hide close button and allow clicks through it (it still takes up space but it can't be clicked on):

.closebox {
  opacity: 0 !important;
  pointer-events: none;
}

>All comments

Add one of the following CSS codes under the "Advanced" section in Tree Style Tab's option page in the "Extra style rules for sidebar contents" textbox.

To remove close button completely:

.closebox {
  display: none;
}

To hide close button (it still takes up space and can still be clicked on):

.closebox {
  opacity: 0 !important;
}

To hide close button and allow clicks through it (it still takes up space but it can't be clicked on):

.closebox {
  opacity: 0 !important;
  pointer-events: none;
}
Was this page helpful?
0 / 5 - 0 ratings