badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

How to change colour of links in recent posts widget?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #50229
    Tony
    Participant

    Some long while ago, you provided me with the following to make links in lists visible. It works fine.

    /* Links */
    a {
    	color: #05a9c5;
    	text-decoration: none;
    }
    a:link, a:focus, a:active, a:hover {
    	text-decoration: none;
    }

    I am using the Recent Posts widget to display a list of “News” but visitors do not realise they need to follow the link to get details. The solution is to indicate it is a link by colouring it. By default the Recent Posts widget does not show the links coloured until you hover hover them. I also want to achieve the same thing in the Up-coming lectures widget which is part of the Events Manager plugin.

    The HTML emitted by both widgets uses li for each entry. I have found the following .css and tried changing the colour to see if it is the right bit, but nothing changes

    .widget ul li a:hover {	
    	color: #05a9c5;
    

    I would be grateful if you could show me what to change. Thank you.

    My site can be seen here.

    #50323

    Hi Tony,

    To have the color the link in the widget go to Appearance > Customize/Theme Options > Design Options Tab > Custom CSS paste the following CSS code and Click on save button:

    .widget ul li a {
        color: #05a9c5;
    }

    Change the HEX color code 05a9c5 above to your own HEX color code.

    Thank you!

    #50329
    Tony
    Participant

    Thank you – just what I needed.

    Excellent support as ever!

    #50336

    Hi Tony,
    Could you also please help us rating this theme in WordPress Repository.
    https://wordpress.org/support/view/theme-reviews/attitude
    We really appreciate your rating.

    Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.