-
AuthorPosts
-
February 24, 2020 at 4:02 pm #1187380
Hello,
I need to style an individual image with border (solid), border radius, and border color. Is it possible to specify these things in an image shortcode? If not, how can I do styling for an INDIVIDUAL image, please?
Thanks in advance,
J.N.February 24, 2020 at 5:57 pm #1187440Hey greyhound72,
Add this to quick css for the second image. The first appears to have a border already:
img.avia_image{ border-radius: 4px!important; border: #efefef 1px solid!important; }Best regards,
Jordan ShannonFebruary 24, 2020 at 6:00 pm #1187445Thanks Jordan, but adding quick css will affect all other images. I am looking for a solution for this one image, not affecting other ones at the website.
Kind regards,
YuryFebruary 24, 2020 at 6:29 pm #1187466Hi,
Just this one page?
Best regards,
Jordan ShannonFebruary 24, 2020 at 6:47 pm #1187471Exactly! Only this image.
-
This reply was modified 5 years, 8 months ago by
greyhound72.
February 24, 2020 at 7:20 pm #1187474Hi,
Adjust the code to this:.postid-6052 img.avia_image{
border-radius: 4px!important;
border: #efefef 1px solid!important;
}Best regards,
Jordan ShannonFebruary 24, 2020 at 7:36 pm #1187476Yeah, I also thought about this option. Will do this way. It would be nice to see image styling within a shortcode one day.
Thanks for your time and assistance!
J.N.February 25, 2020 at 2:25 am #1187520Hi,
Yes perhaps in the future that can be an option, but as of now CSS saves the day! Did you need additional help on this topic or shall we close?
Best regards,
Jordan ShannonFebruary 25, 2020 at 9:15 am #1187617Please close as everything resolved now.
Thanks!
February 26, 2020 at 4:06 am #1187927 -
This reply was modified 5 years, 8 months ago by
-
AuthorPosts
- The topic ‘Image styling’ is closed to new replies.
