- Installing SureDash
- Download and Access Your SureDash License
- Updating SureDash
- Understanding Spaces and Space Groups in SureDash
- Add a Space Content Type in SureDash
- How to Set Up a SureDash Course Space
- How to Set Up Google Login in SureDash: A Step-by-Step Guide
- How to Set Up Facebook Login in SureDash: A Step-by-Step Guide
- Understanding the Customize Portal in SureDash
- How To Add a Logo To The SureDash Portal
- Setting up Space Groups
- Hidden Spaces in SureDash
- How to Create a Feed Space
- How to Set up “Course” space in SureDash?
- How to Create a “Discussion” Space in SureDash
- How To Set Up A Private Discussion Space In SureDash
- Creating a “Single Post/Page” Space in SureDash
- How to Set Up a “Link” Space in SureDash
- How to Configure SureDash Space Layouts
- Understanding the “Single Post/Page” Space Type in SureDash
- How to Regenerate the Default SureDash Pages
- Recommended Hosting for SureDash
- Customizing the Portal Slug Using a Filter
- How to Edit SureDash Space or Post with Any Page Builder
- How to Use the Profile URLs in SureDash
- How to Manage Navigation Sidebar Top Sticky Offset in SureDash
- Custom Classes Used in Site Editor and Their Purpose
Custom Classes Used in Site Editor and Their Purpose
If you’re customizing layouts using the WordPress Site Editor, SureDash provides specific custom classes to help control the behavior and design of sidebar and content blocks more precisely.
These classes are especially helpful when you’re using the Portal block and need to set up sidebars, control visibility on mobile, or apply consistent styles.
Available Custom Classes and Their Usage
Below are the custom classes you can apply to column blocks while building your layout:
portal-sidebar
Use this class to mark a column block as the sidebar. It applies sticky behavior using CSS, allowing the sidebar to remain fixed while scrolling.
When to use:
Apply this to the left or right column block that should act as a sticky sidebar in your layout.
portal-content
This class applies typography and color design settings to the column block, helping it blend seamlessly with SureDash’s layout styling.
When to use:
Apply this to the main content column where your actual document or post content lives.
portal-hide-on-responsive
This class is used to hide a column block on smaller screens, like tablets and mobiles. It’s typically used when the sidebar is shown as an off-canvas flyout on mobile, so you don’t need the static version.
When to use:
Apply this to sidebar column blocks you want hidden on mobile devices.
How to Apply These Classes in Site Editor
- Open the WordPress Site Editor.
- Select the column block where you want to apply the class.
- In the right sidebar panel, open the Advanced section.
- In the Additional CSS Class(es) field, enter the desired class name
(e.g., portal-sidebar, portal-content, or portal-hide-on-responsive). - Save your changes.
You can apply more than one class by separating them with a space.
Conclusion
Using these custom classes gives you more control over your layouts and helps you match SureDash’s intended design and functionality. It’s a simple but powerful way to make your content look and behave just right.
If you’re unsure which class to use or need help with layout customization, our support team is here for you. Submit a support ticket or reach out directly through your SureDash dashboard.
We don't respond to the article feedback, we use it to improve our support content.