{builder-sidebar} Macro

Description

This macro is used to force the collapse/display of the sidebars on a page-by-page basis.

Usage

{builder-sidebar:right|collapse=true} 

Note:
This macro should be used only once, usually inside a panel within the theme configuration screen.

Parameters

Property

Required

Default

Notes

default

(tick)

true

the sidebar to be affected (left/right)

collapse

(error)

false

should the sidebar be collapsed? (true/false)

force

(error)

false

override any cookie stored value for the state (true/false - default false)

Examples

Simply add the macro to a panel in the theme configuration or to a page to make the right or left sidebar appear or collapse by default:

{builder-sidebar:right|force=true}

CSS Customisation

N/A

Hints and Tips

None at present.

Frequently Asked Questions

None at present.