WordPress.org

Forums

ChaosTheory
[resolved] Navigation menu bar spacers (10 posts)

  1. cmurway
    Member
    Posted 1 year ago #

    Hello all,

    Flu is finally out of my system..lol...I cannot thank you all enough for the support. I am trying to add spacers between links on my menu bar e.g... Home/about/blog/contact but I can only get | spacers instead.e.g..Home|About|Blog|Contact|..plus it places spacers on the navigation on the bottom (which I do not want). Any recommendations? Thanks! My site is http://www.thefitnessclinician.com

    Sincerely,
    Craig

  2. Andrew
    Forum moderator
    Posted 1 year ago #

    #menu li:after {
    content: "/";
    }

    ?

  3. cmurway
    Member
    Posted 1 year ago #

    Perfect! The code I applied changed put the lines after all the links..this is perfect..How do I remove it after the last link? e.g. Contact/
    plus any recommendations on how to center the nav bar now that it's been altered?
    Thanks so much!

  4. Andrew
    Forum moderator
    Posted 1 year ago #

    Have you used 'last-child' in CSS?
    http://www.w3schools.com/cssref/sel_last-child.asp

  5. cmurway
    Member
    Posted 1 year ago #

    Thanks...trying to figure it out now..much appreciated.

  6. cmurway
    Member
    Posted 1 year ago #

    Cannot figure it out for the life of me...any suggestions? Thanks again.

  7. Andrew
    Forum moderator
    Posted 1 year ago #

    #menu li:last-child:after {
    content: "";
    }
  8. cmurway
    Member
    Posted 1 year ago #

    Thank YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!

  9. cmurway
    Member
    Posted 1 year ago #

    Thanks again for your help.

  10. Andrew
    Forum moderator
    Posted 1 year ago #

    You are welcome, do let us know if you need help with anything else.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.