1. pschmili
  2. Sherlock Holmes
  3. Commercial Templates
  4. Wednesday, 16 August 2023
  5.  Subscribe via email
Hi
Is it possible to change the color of a single menu item?
I use j51-emani (J4)
thank you and goodbye
Peter
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Peter,

I used in J51_Layla the following CSS:


.item-124, .item-124 > a {
color: #ff0000 !important; font-size: 24px;
}


where item-xxx is your menu-item ID and color and font-size you can change to taste.

I did not tested in J51_Emani, but you may give it a try.

Luk
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Luk
thank you, has helped me super
Peter
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Luk
Now I have a question after all:
Is there a possibility to customize "Dropdown Menu Item Color" as well. According to the described CSS, the dropdown color unfortunately does not change.
Greeting
Peter
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Peter,

This goes the same way. At least in my J51_Layla. I don't know if this also works with J51-Emani, but normally it should be working as well.

F.i.


.item-xxx, .item-xxx > a {
color: #f12300 !important; font-size: 20px;
}


where item-xxx is your submenu-item ID.

Clean your Joomla cache and browse cache to test.

If this doesn't work, Ciaran will have to interfere, since my CSS knowledge is at a beginner-level.

Luk
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Hello Luk
I can change the "Menu Item Color" with it. However, the "Dropdown Menu Item Color" remains unchanged when I click on it (see pictures).
Unfortunately I don't know a solution.
Greetings
Peter
1.jpg



clicked


2.jpg
Attachments (2)
  1. more than a month ago
  2. Commercial Templates
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Peter

Could you provide a URL to an example of your dropdown?

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 6
Accepted Answer Pending Moderation
0
Votes
Undo
Hello Ciaran
The site is not yet public. i will send the access data by email.
greetings
Peter
  1. more than a month ago
  2. Commercial Templates
  3. # 7
Accepted Answer Pending Moderation
0
Votes
Undo
Hello Ciaran
It has been taken care of. I'll change the menu.
Thanks anyway for the help.
greetings
Peter
  1. more than a month ago
  2. Commercial Templates
  3. # 8
  • 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.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok