Skip Navigation

[Resolved] Sidebar still there even thou using Layouts

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

Problem:
I use Toolset Layouts, but when I assign a layout (without any sidebar) to a page, the page still shows the Sidebar.

Solution:
1. If the Theme is integrated with Toolset (provides an options settings JSON file) then you might be able to control that in Toolset > Layouts - but only if the Theme offers an option or filter for that.
2. If you do not use such a theme then you can edit only the content with Layouts.
This is not any different than #1, but you also will not control the Theme options, which are responsible for sidebars and other non-content parts of the Website.

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

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 2 replies, has 2 voices.

Last updated by RogerD3433 7 years, 2 months ago.

Assisted by: Beda.

Author
Posts
#574957
2017-09-29_151410.jpg

One of the options in the Salient theme is to Hide/Unhide Sidebar on Single Post. I would like to have a sidebar appear on all my normal blog posts, but not on the custom post type I created with Toolset which is called "Updates". Unfortunately, I'm not seeing a setting in Toolset that allows me to disable the sidebar. You can see an example of an update post type here: hidden link You'll see that there's a sidebar in gray that is part of Toolset layout which I, of course, want to keep and extra sidebar appearing to the right of the photo which I don't want to appear. Is there a way for me to turn off this extra sidebar from appearing on my Toolset "Updates" post?

#575020

The Salient Theme is not integrated with the Toolset Theme Options as far I know, hence there is no setting for this in the Toolset GUI.

It's up to the Theme to define the Template; it seems your Theme provides some options for Posts only if you do not see those Options on the Single Custom Post Edit Screen.
Or eventually, that Theme lets you add Custom Posts to this feature in its settings?

What you can also try is to play around with the settings of the Post Type in Toolset > Post Types > your_post_type > edit > "Sections to display when editing {post_type}" and "Options > Pages/hierarchical"

It might be that the Theme displays the different Template options only per particular Post Type register attributes.

Please let me know if you have success. Otherwise, you might send me a copy of that theme in the next Private Reply so I can analyse it.
Please let me know the exact steps I will have to follow to see the issue.

In the last resort, I will show you how you can do some magic with Toolset - by integrating Layout into the theme, but programmatically (no worries, this is just a small code edit).

Let's see what we can do to solve this problem 🙂

#575377

Thanks for you help, Beda. As it turns out, the folks at Salient were able to solve this by giving me some css code to make the sidebar disappear on our custom content type:

.single-update div#sidebar {
display: none !important;
}
.single-update div#post-area {
width: 100% !important;
}