How to Override Studio Styles / Alignment

2 replies
Last updated: Feb 4, 2021
πŸ‘‹ Hey all - hoping this is fairly simple ask but it has me confused. I'm working on customising the studio i've put in my logo and adjusted the colours etc.. - The logo size is pushing the navbar container height up (and i'd like to keep the logo at this set size as it looks best) I just want to align the other navbar items (buttons, search etc...) into the middle of the container using align-items: center. It's not obvious how i'd be able to do or override these styles? Help!
Feb 4, 2021, 11:27 AM
you can add custom styles ( ), maybe something like this?

:global([class*="Navbar_root_"]) {
  align-items: center;
Feb 4, 2021, 11:48 AM
πŸ™Œ thanks
user B
Feb 4, 2021, 11:49 AM – build remarkable experiences at scale

Sanity is a customizable solution that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Categorized in