Skip Navigation

[Resolved] Strange bug with Visual Composer and Toolset Views/Layouts

This support ticket is created 5 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 8 replies, has 2 voices.

Last updated by Waqar 5 years, 9 months ago.

Assisted by: Waqar.

Author
Posts
#1203892
4-Custom-css-generated-by-Visual-Composer.jpg
3-Empty-excerpt.jpg
2-Filled-excerpt.jpg
1-Exceprt-field.jpg

1. To show CPTs single pages i am using Content Templates, designed with WPBakery Visual Composer. And at any CPTs single pages, WPBakery Visual Composer won't to load custom css IF excerpt field is empty.

Example with filled excerpt field: hidden link
Example with empty excerpt field: hidden link

As you can see, in example with empty excerpt field, CTA block with blue gradient is showing incorrectly. More details on attached screenshots.

What i was try to do:

- disable excerpt field in Toolset Post Type settings
- deactivate all additional plugins
- remove all custom functions from functions.php

2. I have the same problem with custom css, if i insert Content Templates, designed with Visual Composer, to Layouts. But it does not depend on filling in any fields.

#1204551

Hi Mihail,

Thank you for contacting us and I'll be happy to assist.

I was not able to reproduce this issue with a similar set up on my test website and it seems the issue is specific to your website's configuration.

Would it be possible for you to share a clone or snapshot of your website with us?
(it can be from this website or from another test website where the issue is reproducible)

We usually recommend the free Plugin “Duplicator” (http://wordpress.org/plugins/duplicator/) for this porpoise.

If you already know how Duplicator works, you can skip the instruction video and just send me the installer file and the zipped package you downloaded.

Duplicator Instructions:
hidden link

( note: I'll need both files and you'll probably want to use DropBox, Google Drive, or similar services, as the snapshot file will be quite big )

IMPORTANT: Remember to create or keep an admin account for me before creating the snapshot, or I won’t be able to log in. You may delete the new admin account once the snapshot has been built.

I will set your next answer as private so you can provide me the information securely.

Note: As a temporary/quick fix, you can include that missing custom CSS code manually at WP Admin -> Appearance -> Customize -> Additional CSS:


.vc_custom_1549654633667 {
    padding-top: 150px !important;
    padding-bottom: 150px !important;
    background-image: url(<em><u>hidden link</u></em>) !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

Appreciate your time and have a great weekend.

regards,
Waqar

#1204927
#1204928
custom css tab.jpg

Wakar, about quick fix. Yes, i know, but this situation with all Visual Composer elements with custom css and css, that i adding in Custom CSS tab. Because we have many content templates and custom css this quick fix is very uncomfortable...

#1206033

Hi Mihail,

Thank you for waiting.

During troubleshooting, we've identified that the issue seems to originate from how the Yoast's SEO plugin filters the default excerpt function.

If you'll disable the Yoast's SEO plugin the CSS code from the WPBakery plugin will load correctly.

This has been reported to the concerned team and I'll keep you updated with the progress through this ticket.

Appreciate you brought this forward and let me know how it goes.

regards,
Waqar

#1206072

Hi, Wakar.
Now i was try to deactivate the Yoast's SEO plugin, but nothing change 🙁 Could you, please, try to do the same thing on my website?

#1206738

Hi Mihail,

This is strange as on a couple of our test websites, we were able to link the issue with WPBakery plugin's CSS with the Yoast SEO plugin.
( https://toolset.com/errata/custom-css-added-to-a-content-template-designed-with-wpbakery-is-not-applied-when-yoast-seo-is-active/ )

If the issue is persisting on your website without Yoast SEO plugin, I'll need to perform some further tests specifically on your website's copy.

I'll update you once I have some more findings, but meanwhile, I'll recommend making sure all plugins and the parent theme are updated to their most recent versions.

regards,
Waqar

#1208910

Yes, is strange... All plugins and the parent theme are up-to-date.

#1210552

Hi Mihail,

Thank you for waiting and I apologize for the delay in sharing an update.

During deeper troubleshooting and testing, I was able to narrow this issue to a conflict between The7 theme and Toolset Content Template, designed through WPBakery Page Builder.

Only when this particular theme is active, the builder's styles would only get included, when the excerpt is not empty, just as you noted originally.

Appreciate your report and patience during this investigation. I've shared these findings with the concerned team for further review and I'll keep you updated with the progress through this ticket.

For now, the only workaround I can suggest is to make sure that the excerpt is not empty.

regards,
Waqar

#1228369

Hi Mihail,

Just wanted to update that a fix for this issue was included in the most recent release of Toolset Views (version 2.8.0.1).

Please let me know if you still experience this issue after the update.

regards,
Waqar