End of Support for Joomla 3 - Forum closed

[SOLVED] Menu Home Always Highlighted

  • dlong
  • dlong's Avatar Offline Topic Author
  • Junior Boarder
  • Junior Boarder
  • Posts: 34
  • Thank you received: 0

Menu Home Always Highlighted was created by dlong

Posted 5 years 11 months ago #22194
Wondering how to configure the menu on this template so that the Home button is not always highlighted. If I select any menu item, it will become highlighted, but the Home will stay highlighted, too.
by dlong

Please Log in or Create an account to join the conversation.

  • cg
  • cg's Avatar Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 182
  • Thank you received: 53

Replied by cg on topic Menu Home Always Highlighted

Posted 5 years 11 months ago #22200
Hello dlong,
i use the chrome browser.
In the demo version of MAXIMUM the problem does not seem to occur (see the attached file).
by cg
Attachments:

Please Log in or Create an account to join the conversation.

  • dlong
  • dlong's Avatar Offline Topic Author
  • Junior Boarder
  • Junior Boarder
  • Posts: 34
  • Thank you received: 0

Replied by dlong on topic Menu Home Always Highlighted

Posted 5 years 11 months ago #22202
The Home stays highlighted even in Chrome on my site. I see that the demo doesn't behave this way, and wonder how I can get the same result.
by dlong

Please Log in or Create an account to join the conversation.

  • cg
  • cg's Avatar Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 182
  • Thank you received: 53

Replied by cg on topic Menu Home Always Highlighted

Posted 5 years 11 months ago #22205
Hello dlong,
here the quick and dirty solution:
Code:
.class-assigned-to-the-menue .uk-navbar-nav > li.uk-active > a { background-color: #222222; /* nearly black */ color: #ffffff; /* better to change combined with background-color */ }
Last Edit:5 years 11 months ago by cg
Last edit: 5 years 11 months ago by cg.
The following user(s) said Thank You: Mock

Please Log in or Create an account to join the conversation.

  • dlong
  • dlong's Avatar Offline Topic Author
  • Junior Boarder
  • Junior Boarder
  • Posts: 34
  • Thank you received: 0

Replied by dlong on topic Menu Home Always Highlighted

Posted 5 years 11 months ago #22208
Thanks, cg. I added the snippet into the custom.css file, but it has no effect. Where does it need to go?
by dlong

Please Log in or Create an account to join the conversation.

  • cg
  • cg's Avatar Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 182
  • Thank you received: 53

Replied by cg on topic Menu Home Always Highlighted

Posted 5 years 11 months ago #22211
You add the page class:
Code:
.class-assigned-to-the-menue
See: www.joomlaplates.com/forum/search?query=...0class&childforums=1
The Posts are in german but the hardcopies are self explanatory.
Last Edit:5 years 11 months ago by cg
Last edit: 5 years 11 months ago by cg.

Please Log in or Create an account to join the conversation.

Moderators: joomlaplates

Installations-Service

Don´t waste your time, we install your purchased Template
with the "Demo Content" within the next 24 hours.

Buy Now - 59€

Joomlaplates/Theme-Point is not affiliated with or endorsed by Open Source Matters or the Joomla! Project

Copyright © 2024 JoomlaPlates | Professional Joomla Templates with Uikit 3

Disclaimer & Privacy | License