Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove some vc_custom CSS in WordPress

I have inherited a work for another developer, it is a website made with WP Bakery Page Builder and I have to fix some design issues.

The thing is that the other developer add some custom css code that I don't find in the backend.

It is generated as inlince css in the index.php. Looks like this.

<noscript><style type="text/css">body .wpex-vc-row-stretched, body .vc_row-o-full-height { visibility: visible; }</style></noscript><style type="text/css" data-type="vc_shortcodes-custom-css">.vc_custom_1530389595419{padding-top: 5% !important;padding-bottom: 5% !important;}</style>

I have problems with these vc_custom_* classes, I want to remove all of them.

Can you guys help me to find these mysterious css?

Thank you so much.

like image 677
albertoperojo Avatar asked Aug 14 '26 20:08

albertoperojo


1 Answers

I had exactly the same problem. But as the previous answers have suggested, it is more a matter of codification than of code.

The solution for me was to enter:

enter image description here

And then the values that are automatically like vc_custom_ are margins, border and padding

enter image description here

like image 199
Jasp402 Avatar answered Aug 18 '26 02:08

Jasp402



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!