Menu not centering

I’m having difficulty centering an element in my navigation, even though that element has a width, it’s set to display: block, and the left and right margins are set to auto. Is it the parent elements that are affecting this?

@samliew, any thoughts?


The element I can’t center is the element that contains these links, as shown below:

Here are the settings for the element

I really appreciate it,

Here is my public share link:
(how to access public share link)

You forgot to mention which element and provide a screenshot with a circle drawn around the element.

Hey @samliew, I updated the first post.

Select the nav-menu element and then select text-align: center

Oh wow, thanks man. Easier than I thought! :+1:

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.