Sidebars on fullwidth sites

We created a site using “fullwidth” as the default and all pages were created using “Default template” as the template style. The client now wants to add a sidebar to a few pages. Setting the template to a sidebar for those specific pages does not display the main sidebar or a custom sidebar assigned to those pages. If I change the theme option to “Sidebar left, content right” then it appears on all pages, as expected.

Is there a way to get the sidebar to appear on those pages I have changed the template on? I see the classes have been added to the page wrapper indicating that it is expecting a sidebar. I would prefer not to have to go through the site and change the template on over 200 pages to force “fullwith” for them just to get the sidebar on a few pages. I thought about just adding a widget area to a column, but this page is using a looper and the layout isn’t really going to allow for that.

Thank you.

Hello @501creative,

Thanks for writing to us.

I would suggest you go to the Theme Option —>Layout and Design—>Content Layout —>Content/Sidebar

Please have a look at the given screenshot below.

Hope it helps
Thanks

Thank you for the response. The problem with that is over 200 pages set to “Default template” will. have unwanted sidebars. On sites that had the default as one of the two side bar option I could override that by setting a page template to fullwidth. Now I’d like to do the reverse.

Hello @501creative,

Thanks for writing in! Since you are using the Pro theme, go to Cornerstone > Layout Builder. You can create a custom single layout where you can create your layout with a sidebar in it. You can then assign the layout to the select pages using the conditions. Having it this way will ensure that the layout will only be applied to the select pages instead of having to go through the rest of the 200 pages on your site.

You might need to check out the following documentation article to help you resolve this:

Best Regards.

That actually is what I did to solve this, but my question still remains. Can sidebar only be used templates only be used in cases where the theme is using a template containing a sidebar as the default?

Hi @501creative,

The sidebar can be shown only by using the Templates, but alternatively, you can use the Widget Area element to show the sidebar widgets.

Thanks

I think we might be going in circles. If this is the setting in Theme Options
Screen Shot 2021-12-27 at 9.56.14 AM

Then setting this from Page Attributes has no effect.
Screen Shot 2021-12-27 at 9.57.55 AM

The sidebar is not displayed. Is that the way it is supposed to perform?

Hi @501creative,

It has been already mentioned by my colleague Prakash that you need to select the Content/Sidebar layout before selecting the Template which shows the Sidebar. So you need to set both the settings mentioned by my colleague and me.

Hope it helps.
Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.