Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #126671
    Gizdit
    Participant

    Hi there,
    In spite of a lot of researches and manipulations (in the css sheet in particular, and in WordPress in general), I can’t manage to get rid of the grey frame that is put by default around the images I upload on my website.
    Here is the url of my website: https://geocaching-gizdit.fr/
    It is based on the theme Catch box pro.
    I thank you in advance for any help you can give me.
    Gizdit

    #126672
    Andrew
    Participant

    Same issue here – very frustrating.

    #126700
    skynet
    Participant

    Hello @Gizdit and @Andrew Go to Appearance –> Customize –> Additional CSS

    Add this code:

    .entry-content img { border: none; box-sizing: content-box; }

    After that, click on the top of customizer “Publish”.

    Have a great day!

    #126712
    tikaram
    Keymaster

    @gizdit @wildways : Go to Appearance => Customize => Additional css and add the following css

    img[class*="align"],
    img[class*="wp-image-"],
    #content .gallery .gallery-icon img,
    img.wp-post-image,
    img.attachment-thumbnail {
    	border: none;
    }

    Let me know if you need further assistance.

    @skynet
    : Thank you for your answer.

    Regards,
    Tikaram

    #126730
    Gizdit
    Participant

    Hi guys,
    Thanks a lot for your answers.
    I tried both your codes, and they both work great!
    Many many thanks for your help, you both rock!
    Gizdit 🙂

    #126828
    tikaram
    Keymaster

    @gizdit : Welcome and have a Good day.

    Regards,
    Tikaram

    #126865
    Andrew
    Participant

    Thank you

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Erase the grey borders around the images’ is closed to new replies.