Skip Navigation

[Résolu] Styling Link Colours within div

This support ticket is created Il y a 8 années et 8 mois. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Marqué : 

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par Jo4nny8 Il y a 8 années et 8 mois.

Assisté par: Beda.

Auteur
Publications
#344937
footer row.png
css.png
Footer Links Image.png

Hi Guys,

Im trying to style the colours of links within a widget in my footer. Im using the latest blog posts widget (normal wordpress widget) in my layout footer and this is wrapped in a 'row' labelled footer-background.

Ive edited the css to change the background of this div to green, and changed the text color to white. However my links are showing as green still (toolset-starter theme colour set as green). I need to change the link text to white to match but can't do i using the normal css (a:link,hover etc)

Any advice?

#345019

Thank you for contacting us here in the Support Forum

The problem is, Links are a globally styled element.
You need to add a class to the specific Links to style them differently.

Since those Links most probably are produced by the Widget you can't edit them directly as HTML in Layout or elsewhere.

If you have no issue with changing ALL Links in your site, you can just apply a Custom CSS to the default <a> class.

You can also try to add a Custom Class to your Widgets, but still Links are styled with the <a> element and therefore calling main CSS of WordPress / theme / bootstrap.

Please let me know if you need further infos about this.

Thank you for your patience.

#345758

Thats Great Thanks

Ce ticket est maintenant fermé. Si vous êtes un client de Toolset et que vous avez besoin d'aide, veuillez ouvrir un nouveau ticket d'assistance