Fixed Sidebar Layout in Bricks

A user asked:

This Pro tutorial provides the steps to set up a fixed left (or can be on the right) sidebar using hooks and some custom PHP and CSS in Bricks.

Step 1

Create a Bricks template of type Section named say, "Sidebar".

Edit it with Bricks.

Add a Block.

Change its element ID to site-sidebar.

Set its width to say, 300px.

Do other styling like setting background color, text color, padding, row and column gap.

Add your desired elements inside.

Template settings:

This is a BricksLabs Pro tutorial.

For full access login below or create your BricksLabs Pro account

Instant access to 390+ Bricks code tutorials with BricksLabs Pro