0
Welcome Guest! Login
0 items Join Now

Where is the hover BG colour being set?

    • Ali Samii's Avatar
    • Ali Samii
    • Elite Rocketeer
    • Posts: 629
    • Thanks: 2

    Where is the hover BG colour being set?

    Posted 12 years 2 weeks ago
    • I am having trouble finding the CSS selector that is defining the bg colour that is being set when you hover over the "Abonnez-vous" link in the header-b position on this site:

      gobet.ergonomiq.net

      I can't find where that is being set, or how to disable it.

      The link is a menu with the module class suffix of "subscriptions" and the LESS I have written for it is below. As you will see, there is no &:hover {background:;} defined.
      .subscriptions {
           padding: 0;
           margin: 0;
           list-style: none;
           float: right;
           top: 85px;
           margin-right: -55px;
           ul.menu {
                list-style: none;
                margin: 0;
                padding: 0;
                ul {
                     list-style: none;
                     margin-left: 0;
                     margin-top: 0;
                }
                li {
                     a:before, .item:before, .separator:before {
                          display: none;
                     }
                     a, .item, .separator {
                          color: @noctis;
                          font-size: 1em;
                          font-family: @menuFontFamily;
                          display: block;
                          font-weight: bold;
                          &:hover {
                               color: @socialblue !important;
                          }
                     }
                     &.current, &#current {
                          > a, > .item, > .separator {
                               color: @socialblue !important;
                          }
                     }
                }
           }
      }
    • Thank you.

      Ali Samii
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Where is the hover BG colour being set?

    Posted 12 years 2 weeks ago
    • that's bootstrap ( libraries/gantry/assets/jui/less/navs.less )

      I would simply override it with specificity ...
    • Ali Samii's Avatar
    • Ali Samii
    • Elite Rocketeer
    • Posts: 629
    • Thanks: 2

    Re: Where is the hover BG colour being set?

    Posted 12 years 2 weeks ago
    • Great, thank you Henning
    • Thank you.

      Ali Samii

Time to create page: 0.045 seconds