Upload Attachment Button macro key and configuration options.

Key

upload-attachment-button

ParameterDescriptionValue(s)Example(s)
Display Texttext that appears on the button
  • text string
  • Help

Apply Labelsadds the specified labels to the uploaded file
  • filter label
  • filter name
  • forms,faqs

Tooltiptext that appears when hovering over the button
  • text string
  • Theme Press Macro Help

CSS IDfacilitates styling the button using a CSS ID attribute
  • CSS ID attribute
  • my-css-id

CSS Classfacilitates styling the button using one or more CSS class names (space-separated)
  • CSS class name(s)
  • my-css-class01 my-css-class02

Widthsets the width of the button
  • pixels
  • 100px

Margincreates space around the button's border
  • pixels
  • 20px 20px 20px 20px

Paddingcreates space around the button's text
  • pixels
  • 20px 20px 20px 20px

Positiondefines the position of the button relative to its surrounding content or block
  • plain
  • left
  • right
  • top left
  • top right
  • bottom left
  • bottom right
  • plain

If using:

  1. Replace me with something to note about the content on this page that falls outside the scope of the Reference section; and
  2. Add the tight-bottom class to the Reference block above to narrow the gap between the two blocks.