WordPress.org

Ready to get started?Download WordPress

Forums

Techism
[resolved] Remove borders around images (5 posts)

  1. wm
    Member
    Posted 6 months ago #

    What is the settings to remove all the gray boarders around all static images such as header image or in the content? Is that a theme setting or what lines in style.css must be modifyed to not get the automatic image borders?

  2. kaniamea
    Member
    Posted 6 months ago #

    Instal Custom CSS plugin and try adding: a img { border:none; }

  3. wm
    Member
    Posted 6 months ago #

    Tnx for the tip but unfortunatly this dont help to remove the boarders.

  4. Andrew
    Forum Moderator
    Posted 6 months ago #

    Link the site with the issue

  5. wm
    Member
    Posted 6 months ago #

    I used this code from a custom Twenty Twelve site. Its solved the design issue with removing the boarders in Techism theme as I wanted. I added this code to my techism-child theme style.css.

    .entry-content img, .comment-content img, .widget img, img.header-image, .author-avatar img, img.wp-post-image {
        border-radius: none !important;
        box-shadow: none !important;
    }

Reply

You must log in to post.

About this Theme

About this Topic