Forums

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

  1. s.kurwa1
    Member
    Posted 10 months 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. EnigmaWeb
    Member
    Posted 10 months ago #

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

  3. s.kurwa1
    Member
    Posted 10 months ago #

    sure! http://www.shelinakurwa.com

    Thanks!
    -Shelina

  4. EnigmaWeb
    Member
    Posted 10 months 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 10 months 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 4 months 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 4 months ago #

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

    http://www.raicesrootsridas.org/

Reply

You must log in to post.

About this Topic