Hello,
I currently have 4 items in my main menu displayed in the header of my homepage. However, there is a huge gap on the left (please see below where I annotated the gap). Is there a way to have these items centered? Ultimately, I would like to add a 5th but when doing so, Shopify places them in a sidebar. I think if they were properly centered, I could add a 5th item without issue.
Website: www.markkatzphotography.com
Thank you,
Mark
Hi @MarkKatzPhotos ,
This is Kate from PageFly - Landing page builder, I’d like to suggest this idea:
Step 1: Go to Online Store->Theme->Edit code
Step 2: Asset->/timber.scss->paste below code at the bottom of the file:
@media screen and (min-width: 769px) {
.site-header .grid--table > .grid__item.large--one-third {
width: 20% !important;
}
.site-header .grid--table > .grid__item.large--two-thirds {
width: 80% !important;
}
.site-nav.site-nav--init {
text-align: center;
}
.site-nav.site-nav--init li.site-nav__item--compressed {
float: right;
}
}
I hope it would help you
Best regards,
Kate | PageFly
1 Like
Hi Kate,
This works perfectly. Thank you very much.
Best,
Mark