Skip Navigation

[Résolu] Styling Link Colours within div

This support ticket is created Il y a 8 années et 3 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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é : 

This topic contains 2 réponses, has 2 voix.

Last updated by Jo4nny8 Il y a 8 années et 3 mois.

Assisted by: 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

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.