Create Space to the Left of the Navbar - Aaron Meyers

Create Space to the Left of the Navbar

By default, most layouts have their left nav-bar squished against the left-most edge of the screen. It may be nice to leave some space between the edge of the screen and the left-navbar, with the background showing behind it (like I do on my site). If you'd like to move the entire layout to the right, a smidge, use the following code: Add the following to your theme's Advanced CSS settings or, if you use multiple themes, to a CSS block on your "Entire Site":

/* Move the entire layout a bit to the right to give the left navbar some space on the left */
.sm-page-layout {
  margin-left: 15px !important;
}
Feel free to change the amount from 15px to whatever your heart desires.

Comments

Powered by SmugMug Log In