Featured image css class

Home Forums Iconic One Pro Support Featured image css class

This topic contains 2 replies, has 2 voices, and was last updated by  KrisB 7 years, 4 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #4682

    KrisB
    Participant

    Hi,
    Is there any way to assign a CSS class to the featured images?
    Similar to image details > advanced options in wordpress.

    Failing that, can I put a line in custom.css to modify the css for the featured images.
    I’ve tried using .wp-post-image, but it doesn’t seem to work.

    I just want to put a border round the featured images similar to the rest of my site.

    Thanks!
    Kris

    #4683

    Hi Kris,

    You can use like this in custom.css

    img.alignleft {
        border: 2px solid #333333;
    }

    Empty browser cache to see the changes.

    #4684

    KrisB
    Participant

    That’s it.
    Thank you.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.