Skip Navigation

[Resolved] Remove the sidebar in content template

This thread is resolved. Here is a description of the problem and solution.

Problem:

A Content Template was created for a custom post type in Toolset, but the page still displayed a sidebar. There was no option inside the Content Template editor to choose a page layout such as full width, left sidebar, or right sidebar.

Solution:

Toolset Content Templates do not control the overall theme layout. The sidebar is added by the active theme or Elementor Theme Builder, so the layout must be changed there instead. If the theme does not offer a setting to remove the sidebar, the theme template (such as single-{posttype}.php) needs to be adjusted to use a full-width layout and remove the sidebar call.

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.

This topic contains 1 reply, has 1 voice.

Last updated by christopheM-3 6 days, 3 hours ago.

Assisted by: Christopher Amirian.

Author
Posts
#2850474

Hi, i create a content template for a custom post type in Toolset
But there is stil thisn annoying sidebar, and no option in the content template page to choose the desire page template (full width, sidebar left or right, etc)
How can i do ?

using Elementor with ONAIr2 theme

Thank you

#2850488

Christopher Amirian
Supporter

Languages: English (English )

Hi,

Welcome to Toolset support. Toolset Content Templates don’t control the theme layout (sidebar/full-width). The sidebar comes from your theme’s single template (or Elementor Theme Builder), so you need to change it there, not inside the Content Template editor.

If your theme does not have an option to disable the sidebar, you need to contact their support and ask what the best option.

In general, WordPress themes give this option:

Create (or adjust) the theme’s single-{posttype}.php (or equivalent) to use a full-width layout and remove the sidebar call, then let Toolset inject the Content Template content.

Thanks.

#2850837

Thanks.