Return to Support

Remove border from certain images

Home Forums Graphene WordPress theme Support Remove border from certain images

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #10060
    Mabul
    Participant

    Hi all,

    I’m trying to remove the border from certain images only. I gave these images the following id: id=”borderless” and the following css:

    .entry-content #borderless img{
    border:0px solid #e3e3e3;
    margin:5px;
    }

    But it doesn’t seem to work. What am I doing wrong?

    #45010
    Syahir Hakim
    Keymaster

    Change the borderless ID to class instead – IDs are supposed to be unique. Set class="borderless" on your images and correct the CSS codes to this:

    .entry-content .borderless {
    border: 0px solid #e3e3e3;
    margin: 5px;
    }

    #45011
    Mabul
    Participant

    awesome, thanks syahir!

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

You must be logged in to reply to this topic.