Skip to main content

Field: Toggle Button

WLA Button.

button

Abilitythat allows users to selecttoggle aopen buttonsidebars withon contentmobile blocks,and for use with resource ID, External URL, Modal or Scroll to ID

tablet 

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


WL-Button.pngToggle-Button.png

Additional

Settings
Settings:

WL_Button_Additional_Settings.png

Settings

Button Text:Text The text to display within the button.

Button Type:Destination Where should this button link go? Options:
    Resource ID - The resource ID that the button should link to External URL - An external url (e.g. https://www.google.co.uk)  Modal - The ID of the modalcategory popupbar: asdefault definedcategory in theModal Popup content block Scroll to ID - The section that you would like this button to scroll to. Defined by Layouts

    Button Destination:Colour The location where this button should go to. Relevant to the Button Type setting.

    Button Colour: 

    The colour of the button. Default Light Blue.

    Font Size:Size Select the text size from the pre-defined list of sizes. Default Regular

    Font Awesome Icon: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.

    ShowThis Pointerbutton Icon:should Shouldonly be used when you are using the pointerCategory iconsidebar showtemplate. forIt thisenables button.users Defaultto no.

    toggle

    Pointer Position: Ifopen the pointercategory issidebar setwhen to show as per Show Pointer Icon setting within this field then, where should it be positioned? Note: if pointer position is left, you should not use a Font Awesome Icon.

    Alignment: What position should this sit withinviewing the layout.website Left,on rightmobile/ or centre. Default Left.

    tablet.