[TUTORIAL] Component: Banners - Section of Buttons

  1. 1. First, select which area you would like to add this component into. In this example, we'll use Main Content.

    Modern Campus page editor with the Main Content region highlighted as the insertion point for a component.
  2. 2. Click on Insert Component.

    Toolbar in the page editor with the Insert Component button highlighted.
  3. 3. Click on or filter by name for "1_Banners – Section of Buttons."

    Insert Component panel showing “1_Banners – Section of Buttons” selected in the component list.
  4. 4. You'll see a preview of the two versions of this component appear on the right-hand side.

    Component preview pane showing two layout variants for the Section of Buttons component.
  5. 5. Click on INSERT.

    Insert confirmation view with the Insert button highlighted to add the selected component.
  6. 6. In Variant, you'll have your choice of "One Row" or "Two Button." We'll start with "One Row," which is the version that allows for many buttons all in a row. They'll wrap into multiple rows if needed.

    Component configuration showing the Variant dropdown with options like One Row and Two Button.
  7. 7. Add a heading for your buttons in the Heading field.

    Heading field highlighted for adding an optional title above the button section.
  8. 8. Next, you'll select the heading H tag you would like to assign that headline. Unless you are using this section as the hero of your page (unlikely), you will likely want to keep this as the default H2.

    For more information about when to use different H tags, see our help guide.

    Heading level selector highlighted for setting the heading tag (H2 shown as the default).
  9. 9. We'll skip the Second Heading field because we selected One Row as our variant.

    Second Heading field shown in the configuration, left blank for the One Row variant.
  10. 10. We'll also skip Second Heading Tag.

    Second Heading tag selector shown, not used for the One Row variant.
  11. 11. Now you'll add your buttons. Each button is a Group. In the Link field, you can use the file chooser to select a page on stonybrook.edu, or paste an external URL into the field.

    For more information on how to use the File Chooser, see our help guides.

    Group 1 configuration shown with the Link field highlighted for the first button destination.
  12. 12. Use the "Link Text" field to describe where the link goes or what it does. Avoid vague labels like "Learn more," as they don’t provide enough context for screen-reader users.

    Link Text field highlighted for entering a descriptive button label.
  13. 13. You have the option to have this link open in the current window or a new one. We recommend any link going to the same site open in the same window, and any external link go to a new window, but you can set the target however you'd like.

    Link Target dropdown highlighted showing options such as Same Window and New Window.
  14. 14. Clicking on "Add New Group" will add a new section to add another button. Follow the same steps as above to create as many buttons as you need.

    Add New Group button shown for adding additional buttons.
  15. 15. You can change the order of your buttons by using the up and down arrows in the top bar of each Group.

    Group controls shown with up and down arrows for reordering buttons.
  16. 16. Click on Move Element Group down one

    Move down control highlighted for moving a button group down one position.
  17. 17. You can also add new button groups using the + button,

    Plus icon shown for adding a new button group.
  18. 18. ...or delete button groups using the X icon.

    X icon shown for deleting a button group.
  19. 19. When you're done, click the Save button.

    Component configuration Save button highlighted to save the button section settings.
  20. 20. You'll see your finished work in the Preview tab.

    Preview tab showing the completed button section rendered on the page.
  21. 21. Now we will review how to set up the "Two Button" variant of this component.

    Variant dropdown shown with the Two Button option selected for the alternate layout.
  22. 22. The "Heading" field will be the headline that displays in the left-hand column. Here, I'll type "Explore Research."

    Heading field populated with example text for the left column headline (“Explore Research”).
  23. 23. I will leave this heading as an H2.

    Heading tag selector shown set to H2 for the left column headline.
  24. 24. The "Second Heading" will be the headline that displays on the right-hand side of the box. I'll put "Explore Innovation" as an example.

    Second Heading field populated with example text for the right column headline (“Explore Innovation”).
  25. 25. I will also keep this headline as an H2.

    Second Heading tag selector shown set to H2 for the right column headline.
  26. 26. The Group 1 button will be the button that displays on the left-hand side, under the "Heading" headline. Add your link the same way that we showed above.

    Group 1 configuration shown for the left-side button link under the first heading.
  27. 27. Next, click on "ADD NEW GROUP"...

    Add New Group button shown for creating the second (right-side) button.
  28. 28. ...and the Group 2 button will be the one that displays on the right-hand side, under the "Second Heading" headline. Again, add your link in the same way we showed above.

    Group 2 configuration shown for the right-side button link under the second heading.
  29. 29. Click on SAVE.

    Component configuration Save button highlighted to save the Two Button variant.
  30. 30. Click on SAVE again at the top of the page...

    Editor header area with the main Save button highlighted for saving the page.
  31. 31. ...then the Preview tab...

    Editor header area with the Preview tab highlighted to review changes.
  32. 32. ...and you will see your work. Great job!

    Preview page showing the completed Two Button layout rendered on the page.