Sidebar
The Sidebar block is a custom HRS block that provides a theme-friendly method for displaying content in a sidebar-style layout. The Sidebar block provides a 70-30 split content area with the option to place the narrower sidebar section on the right or the left.
The two Sidebar columns will stack vertically on narrow screens. The wider of the two columns is the same width as the primary content area of the HRS theme, providing a seamless transition from sidebar block to main content when set to align wide.
In each column you can insert any other blocks you want, including additional columns.
How to Use
- Select Add block and choose Sidebar from the list (under the Layout Elements category).
- The Sidebar block will default to standard width and present two columns for you to enter content in.
- You can fill in your content by either inserting blocks using the add block buttons or dragging existing blocks into the columns.
Additional Options
The Sidebar block has two styles to choose from in the Styles panel of the block settings sidebar: Sidebar on left and Sidebar on right. These will switch which of the two columns is the narrow one.
You can also adjust the alignment (and width) of the Sidebar block by toggling wide or full alignment in the block toolbar. Wide and full alignment will expand to fill the content area, with or without margins.
Examples
A default sidebar on right style sidebar block with default alignment of none
A sidebar on left style sidebar block with default alignment of none
A sidebar on right style sidebar block with wide alignment
Source
This is an HRS-created block provided as part of the HRSWP Blocks plugin.