How can I make the borderline thicker and in different color ?

Hi All.

I just wonder how can I change border thickness and border color of;

  1. Featured images of my posts

  2. The thumbnail picture of sparkling popular post widget

Best

Hi @ftayan,

I hope you are well today and thank you for your questions.

On my test site the featured images do not have any borders.

Could you please share me your site URL where it’s displaying so that i can help you to achieve it?

Kind Regards,
Movin

Hi Movin.

Yes I noticed that your test site doesn’t have this feature.

This is what I want to achieve.

My address is : www.pressedword.com

Best

Tony

You can try achieving this by adding the following CSS code in the Custom CSS option of the latest version of Sparkling theme on the below path.

Admin Area -> Appearance -> Customize -> Sparkling Options -> Other -> Custom CSS


img.single-featured.wp-post-image {
    border: 1px solid #000;
}
.sparkling-popular-posts img.wp-post-image {
    border: 1px solid #da3f3f;
}

You can change the border thickness 1px and color value in the above code to whatever you want to use by referring the following pages.

http://www.w3schools.com/html/html_colors.asp
http://www.w3schools.com/html/html_colorvalues.asp
http://www.w3schools.com/tags/ref_colorpicker.asp

Hi Movin.

Thanks a million !

It worked again as it has always been.

A quick follow up; Can I also put borders to recent posts’ thumbnails ?

Best

Tony
www.pressedword.com

You are most welcome here :slight_smile:

A quick follow up; Can I also put borders to recent posts’ thumbnails ?

Yes you can but to help us keep support thread separates could you please create new thread for your other questions here Sparkling - Colorlib Support Forum instead of asking them in your single thread as it makes the thread messy and hard to read.

If you want to you can also add reference of this thread in your newly created thread.

We would be more than happy to help you on your new thread.