DesignPLUS is built to have columns that are a factor of 12, meaning only 1, 2, 3, 4, 6, and 12 columns can be added to a page. This is due to how Bootstrap columns are built. Here are the instructions on how to add 5 equal columns to a page.
Please take accessibility into account while applying these styles to your links, as links with large words may cause readability issues. We do not recommend setting 5 equal columns for small screens or mobile.
To have 5 equal links on a page,
- Add 5 columns to a single row in the Columns tool
- Select Container to Edit the Container
- Select the down arrow under Column Alignment
- Set the Horizontal Align (Center)
- Ensure the column size for each column is Column Size (Default)
- In the RCE, select the column
- In the sidebar, select Column to Edit the Column
- Under Column size, select Column Size (Default)
- Repeat for each column, if applicable
Open the Attributes tool in the sidebar
- Select the Column <div>
- Change class col-lg-# to col-lg-2
- Repeat for each column in the row
To test how these links will appear on various screen sizes, we would recommend using the Preview Content tool.
How do I add 5 equal links to a Link Grid?
To have 5 equal links on a Link Grid,
- Open the Link Grid tool in the sidebar
- Add 5 items to the Link Grid under the Content panel
- Under the Style panel, select 6 columns for a large screen and choose the best option for medium and small screens
- If you would like 5 columns on the Medium screen (with accessibility taken into account)
- Open the Attributes tool in the sidebar
- Select the <li> element
- Change the class col-md-# to col-md-2
- Repeat for each link in the Link Grid
- Open the Attributes tool in the sidebar
- Select the <ul> element
- Add the class "justify-content-center"
- If the Link Grid background color differs from the Links
- Open the Style Editor in the sidebar
- Select the <ul> or <nav> element
- Under the Border & Background panel, choose a background color
- Note that this color may need to be adjusted if the Theme or Link Grid style is changed
Note that not every column has to have "col-lg-2" for them to fit on a large screen. Rather, the number at the end can add up to 12 to fit on a screen. This means, 4/5 columns can have the class "col-lg-2" and 1/5 columns can have the class "col-lg-3" or "col-lg-4." Or, 3/4 columns can have the class "col-lg-2" and 2/5 columns can have the class "col-lg-3."
If you would like assistance with this, please submit a support ticket by filling out the Cidi Labs Support Form with the HTML.