Okay
  Public Ticket #160508
Image Border Removal
Closed

Comments

  • Bugra started the conversation
    Hello again, I am sending you a link of my webpage where I want a particular image without any border. You will see that, that particular image will look better without border. Could you please explain me how to do so? Thanks
  •  93
    djwd replied

    Hi there,

    It ain't easy to remove the border for specific pages/posts only, unless you know what the page id is, and target it like this:

    .page-id-304 .entry-content img {
    border:none!important;
    box-shadow: none!important;
    }

    (To paste in the Custom CSS textarea)

    Hope this helps,

    djwd

    Regards
    djwd

  • Bugra replied

    Hello, this worked great on my contact us page. Although I tried the same with a post changing the code as .post-id-591 but this time it didnt work. How should I do it in order to have the same result for a post?

    http://www.students.com.mx/why-should-i-go-to-mexico/

    Thanks

  •  93
    djwd replied

    For posts the selector is just ".post-591"

    Regards
    djwd

    Regards
    djwd

  • George replied

    how can i remove the border for every image?

  • George replied

    figered it out :D