WordPress.org

Forums

[resolved] [Theme: minimatica] Centering the Nav Bar (7 posts)

  1. s.kurwa1
    Member
    Posted 1 year ago #

    I'm using minimatica as a base for my site and trying to center the navigation bar at the bottom. I'm not very good with CSS, though, so any help with editing the style sheet would be really helpful.

    If it's helpful, my navigation bar is a menu of pages, not categories.

  2. Maeve Lander
    Member
    Posted 1 year ago #

    Is it possible to post a link here to your site?

  3. s.kurwa1
    Member
    Posted 1 year ago #

    sure! http://www.shelinakurwa.com

    Thanks!
    -Shelina

  4. Maeve Lander
    Member
    Posted 1 year ago #

    On line 1017 of style.css change margin-left from -470px to -228px. Refresh, and that will indent your current menu to look centered.

    This is not strictly the best way to center a menu but if you're not too confident with CSS I think this would be the quickest and simplest solution for you. :-)

  5. s.kurwa1
    Member
    Posted 1 year ago #

    Beautiful! Thank you so much - I was actually already trying to use that method (in the original theme, the position for .nav is set to "relative", so I set it to "fixed" and added the margin-left: -470px property), but clearly wasn't doing it quite right, cuz I didn't even fully understand that! So thank you so much! :)

  6. tejaztlana
    Member
    Posted 1 year ago #

    s.kurwa1: how exactly did you center your nav bar? i tried what you said in:

    'in the original theme, the position for .nav is set to "relative", so I set it to "fixed" and added the margin-left: -470px property'

    any advice on how you did it would be a tremendous, huge help! thank you!

  7. lRlevolution
    Member
    Posted 1 year ago #

    Still havent figure it out. how would i center my navigation?

    http://www.raicesrootsridas.org/

Topic Closed

This topic has been closed to new replies.

About this Topic