1 Reply Latest reply on Sep 30, 2016 6:02 PM by BenPleysier

    Change color of 1 Nav Bar link in Bootstrap

    Pal Sheldon

      Hi

      I'm wanting to change the roll over color of one link in bootraps nav bar.

      I've tried a class on it.. no luck.. I can change all the  nav bar color... but I just want to change one Roll over element color...

       

      Any Thoughts

       

      Pal

        • 1. Re: Change color of 1 Nav Bar link in Bootstrap
          BenPleysier Adobe Community Professional & MVP

          Place the following in your personalised style sheet (do not touch the original Bootstrap stylesheet(s))

          .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {

              background-color: #FFFF00;

              color: #FFC0CB;

          }

          This is assuming that you have deployed the default nav-bar. Adjust if you are using a different class, also adjust the colours to suit.