1. ThoKay
  2. Commercial Templates
  3. Friday, 22 July 2022
  4.  Subscribe via email
Joomla 4.1.5, Layla 1.1.4

Hello Ciaran,

thank you for your Layla template - I'm really glad because it set an end to a long and frustrating search.

Unfortunately I fail when trying to change some hornav dropdown menu css settings:

1st and 2nd level: How can I change the background-color of an active menu item?


Edit: done.2nd level: How can I change the text-color when hovering a menu item (actually it changes to white and makes the text unreadable)?

Edit: done. Another question : Is it possible to have only the hornav menu sticky (without the logo position)? I want the sticky part to be smaller.

I found out myself. I'm using now position header-1 instead and hide header main

Thank you
Tom

Edit: link removed
Accepted Answer Pending Moderation
0
Votes
Undo
That works, Ciaran, and is very simple indeed! I must confess that I did not know the use of the * selector...

Thank you for css-lessons and spending your time
Tom
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Tom

To amend try using the following...

.hornav ul.menu > li.active > * {
color: yellow !important;
}


Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Ciaran,

on (edit: deleted link) "Organisation" or "Program and offers" on the 1st level of the hornav menu, for instance.

Thank you
Tom
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Tom

Could you state one of your menu items as an example?

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Looks like you have resolved all your queries yourself? :)

Some of them, Ciaran, unfortunately not all. As an occasional css-worker I still fail often, need much time and am sure that my 'solutions' are not very intelligent. :(
For instance: formatting active menu entries, that are dividers and have no link. Any help is appreciated...

Thanks Tom
  1. more than a month ago
  2. Commercial Templates
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Tom

Looks like you have resolved all your queries yourself? :)

Thank you for the update.

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 6
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.