Hello,
I’ve managed to move my logo and menu items to the centre of my navigation bar. However, the code I have followed has also dragged the cart and search buttons along with the menu items. I
I’m wondering if I can keep the menu items and logo centred but push search and cart ions back to the far right side of the navigation bar.
It seems like others on the Shopify forum have had the same issue as me but I can’t find a solution to this specific query.
https://slicktokofficial.myshopify.com/
I will paste the code I found to centre everything on the nav bar below.
@media only screen and (min-width: 768px) {
.site-header .large–text-right {
text-align: center !important;
}
.site-header .grid–table .large–two-thirds {
width: 100%;
float: none !important;
display: block !important;
}
.site-header__logo {
text-align: center;
font-size: 1.5625em;
display: block;
float: none !important;
}
.site-header__logo {
text-align: center;
font-size: 1.5625em;
display: block;
float: none !important;
}
.site-header .large–one-third {
width: 100%;
display: block !important;
}
}
Many thanks