Hi there. I am currently having difficulties to center the alignment of menu bar text from “Home to Cart” for my current website. Could I get some advice?
Thanks for your help in advance!
Hi there. I am currently having difficulties to center the alignment of menu bar text from “Home to Cart” for my current website. Could I get some advice?
Thanks for your help in advance!
Hello there,
I hope you are doing well today.
You can use the following CSS code to center the menu by going to Appearance > Customize > Additional CSS and pasting it there.
/*Center menu*/
@media (min-width: 768px)
bootstrap.min.css?ver=3.3.6:5
.col-sm-4 {
width: 33.33333333%;
display: none;
}
#header .top-header .header-navigation>ul {
margin-top: 15px;
margin-left: 0px;
}
#header .top-header .header-navigation {
float: left;
position: relative;
margin: 0 auto;
/* width: 100%; */
/* margin-left: auto; */
/* margin-right: auto; */
right: -28%;
}
Best Regards,
Support