Skip Navigation

[Resolved] Custom post type with content template width

This support ticket is created 5 years, 3 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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/Hong_Kong (GMT+08:00)

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 5 years, 3 months ago.

Assisted by: Luo Yang.

Author
Posts
#1316865

Hello good morning 🙂

I already asked this in another ticket https://toolset.com/forums/topic/post-type-template-width-and-featured-image-background/ as the first question, it's even in the title, but at the end of it all, I was told to add new questions to new tickets.

There's the problem that I'm not able to make anything on this page full width, the single-psykologhus.php and content-psykologhus.php should be correct. I know I could just remove the CSS that sets the standard content width, but I only need some things to be full width, not all content, and I'm not having this problem on other custom post types using a content template.

Post type "psykologhus" using a content template, not full width:
hidden link

Post type "psykolog" using a content template, full width:
hidden link

I hope you can help
Regards
Lykke

#1316897

Hello,

Since you are using The7 theme + WPBakery Page Builder plugin in your website, I suggest you follow their document to setup a full width row, for example:
hidden link

In Toolset side, with Toolset Layouts plugin you can setup the full width row too, see our document:
https://toolset.com/documentation/user-guides/learn-how-rows-can-displayed-different-ways/
section "Row background extends to full width".

But Toolset Layouts plugin is based on Bootstrap framework, which is using different grid system than WPBakery Page Builder, there will be some unexpected compatibility issue with WPBakery Page Builder plugin, so we don't recommend use Toolset Layouts plugin + WPBakery Page Builder both.