- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-11-2022 05:32 AM
Hello! I'm working on a portal using UI Builder in San Diego on my PDI. Similar to NowSupport, the Developer Site, and others I'd like to center the header and add margin so it isn't at the far ends of the screen. I've tried to do this using the Theme by adding various classes to it such as "canvas-heading-container--margin": "auto" or "canvas-heading-nav--margin": "auto", but neither provide the desired result.
I can add styling to things that have a variable on the css property already (var(--now-color--primary-0), for instance), but for css properties not controlled with a variable, does anyone know if it's possible to add/modify those?
Here's what it looks like out of the box:
Ideally, I'd want to make the classes sn-canvas-header-nav and sn-canvas-menu-nav look like this:
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-21-2022 01:57 PM
Hi Aaron, I don't think this is currently possible through CSS, unfortunately.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-21-2022 01:57 PM
Hi Aaron, I don't think this is currently possible through CSS, unfortunately.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-23-2022 10:29 AM
Ah, unfortunate - perhaps one day. Appreciate the reply, Brad!