Code & Snippets

How to Style the Aurora Sidebar

By Daniel Ekay May 18, 2026 1 min read
Docs Code & Snippets How to Style the Aurora Sidebar
Share:
Last updated:

Aurora’s sidebar has one dedicated Customizer setting: background color. Everything else (padding, borders, widget spacing, typography overrides) is done with CSS. Both approaches are straightforward.


Setting the Sidebar Background Color

  1. Go to Appearance → Customize.
  2. Open Colors.
  3. Find Sidebar Background Color and pick a color.
  4. Click Publish.

By default the sidebar has no background color. It inherits the page background. Setting a color here applies it to the sidebar container on all pages where the sidebar is visible.

Aurora Colors panel showing header background, menu text, footer background, sidebar and site background color options

Styling with CSS

Aurora’s sidebar uses the class .aurora-widget on each widget and .aurora-widget-title on widget headings. Target these in Appearance → Customize → Additional CSS or your child theme.

Child theme folder structure showing style.css, functions.php and other child theme files

Add padding to the sidebar area

.site-sidebar {
    padding: 20px;
}

Add spacing between widgets

.aurora-widget {
    margin-bottom: 30px;
}

Style widget titles

.aurora-widget-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--link-color);
    padding-bottom: 8px;
    margin-bottom: 12px;
}

Add a border to the sidebar container

.site-sidebar {
    border-left: 1px solid #e0e0e0;
    padding-left: 30px;
}

Showing and Hiding the Sidebar

The sidebar visibility is controlled from the Customizer, not CSS. See How to Show or Hide the Sidebar for the toggle settings on single posts and archive pages.

WordPress Widgets screen showing Aurora's Sidebar widget area

Make your blog stand out

Enjoy the ease and flexibility of Aurora. Create stunning blog designs your readers will love, with live preview editing and effortless template mixing and matching enabled.

Get Aurora today for just $39

Get Aurora