Disable Css tab

Posted in: Newspaper
Post count: 6

Hi,

In the tagDiv Composer and WPBakery, its possible disable/hide the CSS tab on all elements?

Post count: 35449

Hi,

If I understand correctly you refer at this css tab https://www.screencast.com/t/hnCSLsIqOON , if is so, then is no option to hide or disable the tabs.
You can hide it with custom css , for example Please the below custom css in Newspaper>Theme panel>Custom code>Custom css

.tdc-tabs a:last-child{
  display:none;
}

see results:
https://www.screencast.com/t/EsqnG3Xp

For WPBakery
https://www.screencast.com/t/j1dByLMcJg
https://www.screencast.com/t/nT1kJaRl
Hope this will help you.
.vc_ui-panel-header-container .vc_general li:nth-child(2){
display: none;
}

Thank you for your understanding.

  • This reply was modified 7 years by Calin.
Post count: 6

Thank you Calin.

Works but on some elements not because they have different tabs.
Example: http://www.clipular.com/c/5950073125732352.png?k=wbyQwQNZC71M-xQtMb2VoHm4Gfk

I change the code (for WPBakery)
.vc_ui-panel-header-container .vc_general li:nth-child(3) {
display: none;
}

And for exceptions (Video Player example)
.vc_ui-panel[data-vc-shortcode="vc_video"] .vc_ui-panel-header-container .vc_general li:nth-child(2) {
display: none;
}

Post count: 35449

Hi,

I’m glad you’ve manage the problem.

Thanks.

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.