WordPress.org

Support

Support » How-To and Troubleshooting » border under multiple images css

border under multiple images css

  • I want to put a border under an image on my site. matter of fact I want to put a border under about 6-9 images on a page. I need about 60 pages of the same thing. what is the quickest way to do that through css ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Add a css class to the image tag –
    <img class="bottom-border">

    Add the css class to style.css –

    img.border-bottom{
    border-bottom: 2px solid white;
    }

    Or all images –

    img{
    border-bottom: 2px solid white !important;
    }

    Thanks, How can i put a border on a single image without using css?

    Moderator Michael

    @alchymyth

    Forum Moderator

    How can i put a border on a single image without using css

    edit the image in the post/page
    -> advanced settings
    -> in the ‘styles’ field, enter for example:
    border: 1px solid #333

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘border under multiple images css’ is closed to new replies.