Add sidebar in content

Hi guys

I was thinking about creative solutions to design even better websites.

Is there a way to have a sidebar per page that can be created in the content?

Now I can add a section, a section can contain multiple rows and each row can have a certain amount of columns

If I want a sidebar it is one that gets populated through the wp widget area so it will be the same on each page… of course I can create widgets that show on certain post/page id’s but not the easiest way to do it.

It would be so great if we could open “Pro > Content”, create a layout like 2/3 + 1/3 , in 2/3 add sections (rows, columns) and in the 1/3 as well.

Is that even possible? Otherwise it might be a nice feature for the future which will beat all competition :slight_smile:

For the same reason, it would be awesome if we could add a row with columns inside a column as well.

I know it is possible using HTML and it’s quite simple, offering a way more flexible layout, but I can’t seem to figure it out in X/Pro

Cheers

Hello @quinex,

Thanks for writing in!

If you global content layout settings in X > Theme Options > Layout & Design > Content Layout is set to “Sidebar Left, Content Right” or “Content Left, Sidebar Right”, you will have a sidebar when you create a page using the default page template. In the theme options, you can set up the content width so basically, you can accomplish a 2/3 + 1/3 page content layout.

Now if you have changed the page templates into Blank - Container or Blank - No Container page templates, you will no longer have the option to display the sidebars as these templates were designed to make sure that the sections will display as fullwidth.

By the way, in the next release of Cornerstone and Pro editor, you will have the ability to nest rows and columns. With the upcoming release, you maybe able to create complicate column layouts.

Hope this helps.

@RueNel

Thank you for the update, yes I am aware of this procedure, but that was not what I meant.

That sidebar is actually populated with the widgets added in appearance > widgets and will be the same on all pages where the sidebar is active which I don’t want.

But… being able to nest rows and columns in the next update is a big leap forward and that might solve this need as well.

Cheers

Hello @quinex,

You can create a page using Blank - Container or Blank - No Container page template with 2/3 + 1/3 layout. In X > Global Blocks, you can create a layout that would server as the sidebar. You can then load it to the page by utilizing the global block element or by way of a shortcode inserted in the 1/3 column of the page.

Hope this helps.

hmmm, that’s nice, thanks… gonna try it :slight_smile:

but where and how would i change the 2/3 1/3 template?

Hi @quinex,

Sorry but I am not entirely certain of what you’re trying to do, but it sounds you just need a 1/2 + 1/6 + 1/3 layout.



Please clarify,
Thanks,

no, i would need a main content area e.g 2/3 of page and a sidebar, but I would like to be able to add content to that sidebar just like for a normal row or column.

a regular sidebar would not work as I would need to create widgets and then show them based on page id’s which is very hard to manage.

creating the layout the way you show above would not work since the right column would always be limited to the row/section it is in so can not run full height fo example.

Is this more clear?

The nested columns, rows option would solve it but it is in a future update… so maybe I just have to be patient

Hi @quinex,

You can checkout the changelogs from this link:

https://theme.co/changelog/

Stay tuned :slight_smile:

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