Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

template manager 'active item' issue in LS2

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

In a lifestyle2 dev build I am having a hard time getting the 'active item' tab in one page mode report back with the desired font color - all other items have presented no issues. I'm wondering if you can spot whether I have made an error, as I haven't been able to figure out a solution.

--> dev link <--


active-template-mgr.png
  • blueshift's Avatar
  • blueshift
  • 6 Month Developer
  • 2579 posts
  • 78 Thanks
  • Karma: 26
The administrator has disabled public write access.
That is applying to the active state of the mega menu rather than the one page menu

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
I'm not sure I understand why they would be treated differently. I suppose page source might indicate the css selector I need to locate.
  • blueshift's Avatar
  • blueshift
  • 6 Month Developer
  • 2579 posts
  • 78 Thanks
  • Karma: 26
The administrator has disabled public write access.
Active state would apply to the whole page so all the links would be active

It would require js to calculate what is active I think - any css selector wouldn't work
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
ah. we need a :clicked selector!
  • blueshift's Avatar
  • blueshift
  • 6 Month Developer
  • 2579 posts
  • 78 Thanks
  • Karma: 26
The administrator has disabled public write access.
That doesn't exist in this form - the clicked selector is active

It would be a js script to control the one page

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
thanks for that info and i figured out a workaround that looks good. :)

future feature request: in the template manager, perhaps add a selector for hover background color? that's how i handled it in custom css, so it might be a useful option in the manager.
  • blueshift's Avatar
  • blueshift
  • 6 Month Developer
  • 2579 posts
  • 78 Thanks
  • Karma: 26
Last Edit: 9 years 8 months ago by blueshift.
The administrator has disabled public write access.
Thanks for the update

Unfortunately its not as easy as that - css alone can't do the job it requires extensive js support

I will check to confirm but I think I'm right complexity wise

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
that's all I did... css. (But not sure about getting that into template manager)
.nav li > a:hover {
  background: #6b90aa !important;
}
  • blueshift's Avatar
  • blueshift
  • 6 Month Developer
  • 2579 posts
  • 78 Thanks
  • Karma: 26
The administrator has disabled public write access.
I can't see any difference on the site at the moment

I could ask anthony about the feasiblity of adding this feature but it would come under custom support?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
actually, it works in FF but.... not in chrome? i wish the interwebs would get it together. :laugh:

anyway, I'll save my custom code budget for a more difficult problem.
  • blueshift's Avatar
  • blueshift
  • 6 Month Developer
  • 2579 posts
  • 78 Thanks
  • Karma: 26
Last Edit: 9 years 8 months ago by blueshift.
The administrator has disabled public write access.
Yeah looks ok in firefox

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers