Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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.

    #1187440

    Hey 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 Shannon

    #1187445

    Thanks 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,
    Yury

    #1187466

    Hi,

    Just this one page?

    Best regards,
    Jordan Shannon

    #1187471

    Exactly! Only this image.

    • This reply was modified 4 years, 10 months ago by greyhound72.
    #1187474

    Hi,
    Adjust the code to this:

    .postid-6052 img.avia_image{
    border-radius: 4px!important;
    border: #efefef 1px solid!important;
    }

    Best regards,
    Jordan Shannon

    #1187476

    Yeah, 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.

    #1187520

    Hi,

    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 Shannon

    #1187617

    Please close as everything resolved now.

    Thanks!

    #1187927

    Hi,

    Thanks for the update, I’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Image styling’ is closed to new replies.