Hi,
I have a question related to Types with the Divi theme.
I have created a "Galleries" custom post and a "Galleries" content template, to be used in Galleries single posts, using the option "Edit with Divi Builder".
The template use only a Fullwidth Post Title Module to display the title and the Featured Image as background.
I have then setup the Content Template settings to Fullwidth and disabled the Title, but it doesn't work.
Please check this screencast.
hidden link
What I do wrong?
Thanks
Best
Dear Puntorosso,
Thanks for the details, the option "Fullwidth" in the Layout Settings section can only display the content as full width of wordpress content area, it can disable sidebars, but can not display as full screen, see our document:
https://toolset.com/documentation/recommended-themes/toolset-divi-integration/create-templates-for-custom-post-types-with-divi-builder-and-toolset/
section "Controlling Divi settings for each content template"
If the Sidebar is to be disabled, then we also need to select Fullwidth in the Layout Settings section...
Hi,
so thats mean we will never be able to achieve a real fullwidth layout?
Sadly this is exactly one of main Divi's features that allows developers to create good looking designs.
If Toolset restrain the integration to the WP "boxed" content area only, then we're using only 50% of the Divi's power.
Chance for a near forthcoming update or this is a fixed limitation?
Thanks
Best
There is a misunderstanding, If you need a full screen content template, you will need to make the wordpress content area as full screen width, then the content template will be able display as full screen width, it need some custom CSS codes, if you need assistance for it, please provide a live problem page URL, I can try to setup one for you.
Hi,
yes I definitely need some help here.
I was able to get the fullwidth by adding ".content {width:100%; max-width; 100%}", and hide the title with ".et_main_title {display:none;}", but couldn't figure out how to hide the featured image.
So now I have removed again my styling and I would really appreciate if you could check it and guide me to the right way.
This is an example with the Toolset Divi Layouts
hidden link
and this is how it should look like (made with Divi builder)
hidden link
Anyway, maybe I am thinking wrong, but I see this as a design bug.
When using the Divi template in Content Layouts, Toolset should automatically look like the Divi builder, without css editing.
Thanks
Best
As I mentioned above, Views content template only works in the wordpress content area, the post title and post feature image is out the range of content area, and the post feature image should be outputted from your theme files, I suggest you locate the theme file which is for rendering the single gallery post, edit it, find and remove the codes which is for outputting the feature image, you might need to ask help from your theme author for locating the PHP codes.
You can also create a new them file for it, for example "single-gallery.php", more help:
https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
single-{post-type}.php – If the post type is product, WordPress would look for single-product.php.
Hi,
Thats the normal procedure for any generic theme.
Here we are talking about a what should be a tight integration between Toolset and the Divi theme.
If we have to start modifying php files I don't see the point of all the works you invested on integrating Divi in the Content Layout workflow.
In this case there are better options to "inject" a Divi template in custom posts, like this plugin
hidden link
Thanks anyway for your time.
Best