Skip Navigation

[Closed] Forget to class .active in Toolset Bootstrap menu

This support ticket is created 9 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 17:00 8:00 – 17:00 8:00 – 17:00 8:00 – 17:00 8:00 – 17:00 -
- - - - - - -

Supporter timezone: America/Sao_Paulo (GMT-03:00)

This topic contains 1 reply, has 2 voices.

Last updated by Adriano 9 years, 5 months ago.

Assisted by: Adriano.

Author
Posts
#228666

Hi,

The toolset bootstrap theme is adding classes to the wordpress menu so that the CSS from TB is working. The css for the navbar can be found in the navbar.less file in TB.
However, you forgot to add the .active class to the li's which also have the class 'current-menu-item'. Because of this, the below CSS and thus the variables from variables.less is not working:

// Active nav items
.navbar .nav > .active > a,
.navbar .nav > .active > a:hover,
.navbar .nav > .active > a:focus {
  color: @navbarLinkColorActive;
  text-decoration: none;
  background-color: @navbarLinkBackgroundActive;
  .box-shadow(inset 0 3px 8px rgba(0,0,0,.125));
}

Hope you will fix this in next release.

Kind regards,

Willem-Siebe

#228706

Dear Willem,

Thank you for reporting that. I will let our development team knows about that.

The topic ‘[Closed] Forget to class .active in Toolset Bootstrap menu’ is closed to new replies.