Here is my site Read-Only: LINK
(how to share your site Read-Only link)
I want to know how to make the side boxes smaller so they fit perfectly centered in the nav bar (not outside of it)
Here is my site Read-Only: LINK
(how to share your site Read-Only link)
I want to know how to make the side boxes smaller so they fit perfectly centered in the nav bar (not outside of it)
Hi there,
To adjust your navbar element’s layout, you have two main options:
The first method is controlling width. You can either set a specific width value directly on the navbar element or adjust the width of its parent container to constrain the horizontal space.
For centering elements within the navbar, use auto margins. Add ‘auto’ to both the left and right margins of the element you want to center. Keep in mind that this centering technique will only work if the element has a display property set to block or flex, not inline.
Hopefully this helps! If you still need assistance, please reply here so somebody from the community can help.
The thing is that when I type, it expands the box and then it doesn’t center align nor can i reduce the horizontal space, it stays fixed to the right border of the nav bar. I want the text to be on one line not expand to two.
nevermind just got it - did the no wrap and that seems to have fixed