You can do it with CSS.
#site-sub-navigation {
text-align: center;
}
If your theme has a place for custom css us that, if not create a child theme or install a custom css plugin.
Hi thanks for your response! I tried adding a text-align center to the style.css form in the editor but it did not work. this is my code:
#site-navigation,
#site-sub-navigation {
position: relative;
z-index: 500;
font-size: 13px;
display: block;
background: #444;
text-align:center;
clear: both;
font-family: ‘Cantata One’, serif;
font-weight: 400;
}
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Install this Custom CSS Manager plugin http://ww.wp.xz.cn/plugins/custom-css-manager-plugin
Then use its “CSS Code” section of the dashboard to hold your CSS modifications.
Ah thanks so much! Your first suggestion actually worked, I think I just had to restart my browser or something.