Shrinking the menu and making it sticky
-
Hello!
I am very noobish when it comes to wordpress, so please be explicit.
I am trying to minimize the menu on my new storefront site, and I have almost got it where I want it, but I cannot figure out how to customize the style of the search field to make it play nicely, especially with different sized monitors. I want all of the items in the menu to display in one row, without breaking down to a new row on smaller monitors.
Here is what I have added to my child themes style.css:
.search-field {
float: left;
display: inline;
padding-top: 7px !important;
padding-bottom: 5px !important;
padding-left: 25px !important;
padding-right: 0px !important;}
.page-template-template-homepage .site-main {
padding-top: 5px;
padding-bottom: 5px;
}.site-header .site-branding, .site-header .site-logo-anchor, .site-header .site-logo-link {
padding-top: 5px !important;
padding-bottom: 5px !important;
}.site-header {
padding-top: 5px;
}.site-header-cart {
width: 175px !important;
}.cart-contents {
padding-left: 10px !important;
padding-right: 0px !important;
}And this is my site: https://rileyshiery.com
As soon as I get this dialed in I will be trying to make this menu “sticky” so that it is always at the top of the window, even when users are scrolling. I would love advice on how to accomplish that without using the storefont customizer which is really outside the budged of this starving artist…
Thank you for you time and help!
- The topic ‘Shrinking the menu and making it sticky’ is closed to new replies.