-
AuthorPosts
-
April 1, 2020 at 12:18 pm #1199714
Hi,
I want to change the text color of an active link in a widget. I have used shortcodes to insert an accordion tab into the widget, to make a sidebar menu, but I would like to highlight the active link by changing the color – would this be possible?
Thanks in advance!
Best regards,
SusanneApril 2, 2020 at 7:49 am #1200000Hey Susanne,
Please post a link to where we can see the element in question so that we can have a closer look.
Best regards,
RikardApril 2, 2020 at 1:50 pm #1200174This reply has been marked as private.April 3, 2020 at 8:23 am #1200404Hi,
Thanks for that. I get redirected to a login screen though, please provide details in private if we need to login in order to view the page you linked to.
Best regards,
RikardApril 3, 2020 at 8:27 am #1200405The login details are also in the message where I provided the link :)
Best regards,
SusanneApril 4, 2020 at 4:49 am #1200724Hi Susanne,
Sorry about that. Please try the following in Quick CSS under Enfold->General Styling:
.sidebar p.activeTitle { color: green; }
Best regards,
RikardApril 6, 2020 at 8:10 am #1201153Hi Rikard,
Thanks, but that unfortunately did not work
Best regards,
SusanneApril 7, 2020 at 4:51 am #1201461Hi,
I see the CSS applying on my end, please clear your browser cache and reload the page.
Best regards,
RikardApril 7, 2020 at 7:55 am #1201497I have tried to clear cache, and also tested it in Chrome, Firefox and Explore, but it does not work on my end.
Best regards,
SusanneApril 8, 2020 at 5:15 am #1201756Hi,
Ok, we can’t help with local problems unfortunately. The CSS is still applying on my end: https://imgur.com/a/SNQFXRB
Best regards,
RikardApril 8, 2020 at 9:03 am #1201827This reply has been marked as private.April 9, 2020 at 6:28 am #1202138Hi,
Thanks for the update. Please try this CSS instead:
.sidebar p.activeTitle, .sidebar p.activeTitle p a { color: green; }
Best regards,
RikardApril 14, 2020 at 8:23 am #1203473Hi Rikard,
The code did not work. I tried to add “!important” and open the site in incognito, just to be sure.
Best regards,
SusanneApril 14, 2020 at 4:32 pm #1203654Hi Telmore,
Best regards,
VictoriaApril 15, 2020 at 8:27 am #1203877Hi Victoria
Would it work if I gave the links a class? Or is what I want simply not possible?
Best regards,
SusanneApril 15, 2020 at 3:38 pm #1204014Hi Susanne,
That will require additional JavaScript or changing php files which is kind of out of the support that we provide here.
Best regards,
VictoriaApril 16, 2020 at 8:24 am #1204288Okay, thanks for the help
Best regards,
SusanneApril 17, 2020 at 10:13 am #1204677 -
AuthorPosts
- You must be logged in to reply to this topic.