WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. cmurway
    Member
    Posted 7 months 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 7 months ago #

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

    ?

  3. cmurway
    Member
    Posted 7 months 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 7 months ago #

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

  5. cmurway
    Member
    Posted 7 months ago #

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

  6. cmurway
    Member
    Posted 7 months ago #

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

  7. Andrew
    Forum Moderator
    Posted 7 months ago #

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

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

  9. cmurway
    Member
    Posted 7 months ago #

    Thanks again for your help.

  10. Andrew
    Forum Moderator
    Posted 7 months ago #

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

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.