Navigation überspringen

[Gelöst] Custom post type with content template width

This support ticket is created vor 5 Jahren, 5 Monaten. 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/Hong_Kong (GMT+08:00)

Dieses Thema enthält 1 Antwort, hat 2 Stimmen.

Zuletzt aktualisiert von Luo Yang vor 5 Jahren, 5 Monaten.

Assistiert von: Luo Yang.

Author
Artikel
#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:
versteckter Link

Post type "psykolog" using a content template, full width:
versteckter 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:
versteckter 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.