Skip Navigation

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

This support ticket is created vor 9 Jahre, 2 Monate. 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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 Antwort, has 2 Stimmen.

Last updated by Adriano vor 9 Jahre, 2 Monate.

Assigned support staff: Adriano.

Author
Artikel
#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.

Das Thema „[Geschlossen] Forget to class .active in Toolset Bootstrap menu“ ist für neue Antworten geschlossen.