Field: Toggle Button

A button that allows users to toggle open sidebars on mobile and tablet 


Category: Waterlogic Fields.
Content Blocks Documentation: https://docs.modmore.com/en/ContentBlocks/v1.x/Fields/index.html


Toggle-Button.png

Settings
Button Text The text to display within the button.
Button Destination The ID of the category bar: default category
Button Colour The colour of the button. Default Light Blue.
Font Size Select the text size from the pre-defined list of sizes. Default Regular
Font Awesome Icon

Font Awesome Icon to use to the left of the button text, see (https://fontawesome.com/icons?d=gallery) for icons that can be used. Note: do not add a Font Awesome Icon if you have pointer icon position set to left.

 

For Example: Star icon (https://fontawesome.com/icons/star?style=solid) the value to be used would be fas fa-star.

This button should only be used when you are using the Category sidebar template. It enables users to toggle open the category sidebar when viewing the website on mobile/ tablet. 


Revision #2
Created Tue, Sep 29, 2020 1:34 PM by Nathanael McMillan
Updated Tue, Sep 29, 2020 1:50 PM by Nathanael McMillan