[TUTORIAL] Boxes – 3 Boxes with Parallax Background

  1. 1. Click on the section you would like to add this component to. In this example, we will be inserting it into Main Content.

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

    Toolbar in the page editor with the Insert Component button highlighted.
  3. 3. Click on or filter by name for "1_Boxes – 3 Boxes with Parallax Background."

    Insert Component panel showing the component list with “1_Boxes – 3 Boxes with Parallax Background” highlighted.
  4. 4. You'll see a preview of it appear on the right-hand side.

    Component preview pane on the right showing a three-box parallax section preview.
  5. 5. Click Insert.

    Insert confirmation view with the Insert button highlighted to add the selected component.
  6. 6. The first thing you'll add is the image path for your parallax background in the Parallax Image field.

    Component configuration form with the Parallax Image field highlighted for selecting a background image.
  7. 7. Click on the file chooser...

    Parallax Image field with the file chooser (browse) icon highlighted.
  8. 8. ...and it will open to the image library we have for parallax backgrounds. You can use any of these, or upload your own in your site's _images folder.

    To learn more about how to upload your own images, see our help article in the Images section.

    For this example, I'll select one already in the image library.

    Image picker modal showing the parallax background image library with a selectable image item highlighted.
  9. 9. After you click Insert, you'll see a preview of the background. Note that because this is a background image and for decorative purposes only, an alt field is not provided to describe the image for screen readers.

    Editor preview area showing the selected parallax background applied behind the component.
  10. 10. The next field is a hidden heading. You will need to use this field to tell screen readers what this 3 Boxes section is about. You can describe the section for screen readers here.

    Configuration form with the Hidden Heading text field highlighted for screen-reader context.
  11. 11. Next, you'll select the heading H tag you would like to assign for that hidden headline. Unless you are using this section as the hero of your page, which is unlikely, you will probably want to keep this as the default H2.

    For more information about when to use different H tags, see our article on our Help Guides section.

    Hidden Heading tag selector dropdown highlighted (H2 option visible/selected).
  12. 12. Now we will populate "Group 1" to fill in our first box. First, we'll fill in the link the button will go to.

    Group 1 section expanded with the Link field highlighted for the first box button destination.
  13. 13. You can paste a URL into the field or, if you're linking to another page on stonybrook.edu, select the file chooser...

    Link field with the file chooser icon highlighted for selecting an internal page.
  14. 14. ...navigate to the page you want to link to...

    Site page chooser window showing the folder/page list to navigate to a destination page.
  15. 15. ...select it...

    Page chooser list with the target page highlighted/selected.
  16. 16. ...and click on CHOOSE FILE.

    Page chooser window with the CHOOSE FILE button highlighted to confirm the selection.
  17. 17. You'll see it populates a dependency tag in the field. Dependency tags are handy because Modern Campus uses them to automatically republish any connected pages, keeping shared content up to date without manual updates.

    Link field populated with a dependency tag referencing the selected internal page.
  18. 18. If you plan on using a call to action like "Learn More" on your button for this box, you'll need to add an ARIA label here. An ARIA label is hidden text added to a button that gives screen-reader users more context.

    It clarifies what "Learn More" refers to, such as "Learn more about faculty research," so the button is understandable when read on its own.

    Group 1 ARIA Label field highlighted for adding descriptive button context for screen readers.
  19. 19. So in link text, I'll type "Learn More"...

    Link Text field highlighted with “Learn More” entered as the button label.
  20. 20. ...then go back up to the ARIA label and add "Learn more about faculty research."

    ARIA Label field populated with a specific label (example: “Learn more about faculty research”).
  21. 21. I have the option in Link Target to have this link open in the current window or a new one.

    Because this goes to an internal website, I'll select Same Window here, but you can set the target however you would like.

    Link Target dropdown highlighted showing options such as Same Window and New Window.
  22. 22. Now we'll add the heading in Box Heading. I'll call this "Faculty Research."

    Box Heading field highlighted with the heading text entered (example: “Faculty Research”).
  23. 23. Next, I'll select the Box Heading H tag I want to assign to that headline. This will most likely always be an H3, especially if the invisible heading set earlier is an H2.

    Box Heading tag selector highlighted showing the heading level choice (H3).
  24. 24. Box Content will populate the description under the headline. I'll add some placeholder copy about faculty research here for now.

    Box Content field highlighted with placeholder descriptive text entered for the first box.
  25. 25. That completes the first box! You would click "Add New Group" and repeat the same steps we did in "Group 1" in "Group 2" for your second card.

    Group controls showing the Add New Group button for creating the next box.
  26. 26. To add more cards, you can click "ADD NEW GROUP" and add as many as you would like. Each card after 3 aligns left and stacks in columns.

  27. 27. You can also rearrange cards with up and down arrows once you have a few set up.

    Group list controls with up and down arrows visible for reordering boxes.
  28. 28. You can add...

    Group action control showing the option to add another group/card.
  29. 29. ...or delete cards as well.

    Group action control showing the option to delete a group/card.
  30. 30. When you're done, click "Save" to preview your work.

    Page editor toolbar with the Save button highlighted.
  31. 31. The component will first appear as a blue band.

    Page view showing the newly added component placeholder as a blue horizontal band.
  32. 32. Hit SAVE on the top of the page...

    Editor header area with the Save button highlighted before previewing changes.
  33. 33. ...then Preview...

    Editor header area with the Preview option highlighted.
  34. 34. ...and scroll down to check my work and make sure my boxes are set up properly.

    Preview page scrolled to the parallax three-box section to verify layout and content.
  35. 35. Great job!