I updated from 2.2. to 2.4 when going live with this site, sadly all my custom post type posts are a bit messed up now.
I used the stretch row setting on headings and default on the blocks below. On pages everything is interpretted as stretch row and content (no padding) suddenly after the update. if i change the setting to something else for a row, it changes nothing on the front-end.
Can you please share your site credentials here, because we need to login to your site and see this issue live. Your information is safe (private) in this thread.
To include your credentials click Insert Credentials button in editor toolbar. (See how)
Ola, i found out what the issue is, in custom post type pages, the class .container is not added in the .vc-row-container classes, because of that the code to for explample get the right layout for data-vc-full-width isn`t working correctly either.
I can`t find a reason why it is not being added however to custom post type pages...
I updated from 2.2. to 2.4 when going live with this site, sadly all my custom post type posts are a bit messed up now.
I used the stretch row setting on headings and default on the blocks below. On pages everything is interpretted as stretch row and content (no padding) suddenly after the update. if i change the setting to something else for a row, it changes nothing on the front-end.
https://www.solved.nl/expertise/workplace-consultancy-strategie/ (2.4, live but not the correct way)
https://slvd.niceguys.nl/expertise/workplace-consultancy-strategie/ (2.2, as it should be)
I tried it on the standard pages and posts, these work fine. The problem only occurs with custom post types, any idea what might be the cause of this?
Hi niceguys,
Can you please share your site credentials here, because we need to login to your site and see this issue live. Your information is safe (private) in this thread.
To include your credentials click Insert Credentials button in editor toolbar. (See how)
Best regards,
Laborator Team
Ola, i found out what the issue is, in custom post type pages, the class .container is not added in the .vc-row-container classes, because of that the code to for explample get the right layout for data-vc-full-width isn`t working correctly either.
I can`t find a reason why it is not being added however to custom post type pages...
(So the problem isn`t solved yet)
Hi niceguys,
Can you please try this fix and see if it will work for you:
Download this file and replace it in this directory (of the theme): /kalium/inc/classes/compatibility
This should allow container to be assigned in custom post types as well. I hope this will work for you.
Hey Arlind,
thank you very much, that did the trick!
Glad to hear that
Will set this ticket as solved from here.