
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2022 05:27 AM
Hi there,
Anyone knows how to change the css hover property from the menu on the Portal header to a more dynamic way?
Best regards
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2022 07:52 AM
So, I just achieve this by cloning the Stock widget and added the follow:
CSS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2022 02:46 AM
ok, in the header widget client controller try below (using jquery to get element and add css)
if('your condition')
{
$('.class').css('color' , 'blue'); // get your element with class.
$('#id').css('color' , 'blue'); // get your element with id.
}
else if('your other condition')
{
}
Please mark the answer correct if this helps

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2022 04:59 AM
Thank you, but I already tried that and it didn't work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2022 05:09 AM
In that case you need to share your code snipped.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2022 09:20 AM
I don't think that is because of the code, I think it is because of the location 😞 Where do you think I should put this code to work? I tried on the stock header, but it didn't work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2022 09:29 AM
I dont think it will work anywhere else than the header because you need a client side script for this. Are you able to get your element with correct id or class
All themes , page specific css or css includes will not allow you to check if condition.