Hiding element visual composer

Posted in: Newspaper
Post count: 111

How do I hide en element in Visual Composer? I read in an older topic it’s probably because of tagdiv composer and there will be a fix. But it seems the problem still persists? How do I hide elements on Visual Composer now that tagdiv composer is compulsary?

Post count: 35449

Hi,

If you want to hide some elements in WPBakery you’ll need to add an excreta class on that element -> https://www.screencast.com/t/x3UE5HZ0VzB2 for example -> https://www.screencast.com/t/vyWBI5xHi and set the code in theme panel> Custom code> Custom css
.hide{
display : none;
}

Thank you!

Post count: 111

Hi Calin,

Thanks for your reply, but I want to use ‘hide on device’ option in Visual Composer. It’s weird that it doesn’t work. Will it be fixed in a update?

I can try it with CSS, but its not ideal. What would the css be if I make two classes. One that shows the row/element on desktop and tablet landscape, and one for everything below that resolution, like the options in VC?

Post count: 35449

Hi,

Unfortunately, I can not say for sure if this issue will be fix in the next update, sorry!
If you want to use these options -> https://www.screencast.com/t/MT3LVFSh these will work only if you do not have the tagDiv Composer activate.

Using custom css, is no need to create two classes, you cna use only one to hide the content on specific device, for example -> https://www.screencast.com/t/vyWBI5xHi and set the css code in Theme panel> Custom code> Advance css on device where you want to hide the content -> https://www.screencast.com/t/6WUT0Hu8y

Hope this will help you!
Thank you!

Post count: 111

Hi Calin,

Thanks, but is saying that it only works when you deativate tagdiv composer isn’t that a bit strange, because I thought that after the updates VC only works if you have tagdiv composer activated?

Thanks for the tips with the CSS.

Post count: 35449

Hi,

The reason for doing it was because users who wanted to use for example single images in WPBakery, couldn’t because the tagDiv composer affected the single images functionality.

So now when WPBakery is active and users wish to use it, but some elements still do not work properly, sorry!
The tagDiv Composer need to be activate in order to have the Newspaper theme functionally.

Thank you!

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