WordPress.org

Support

Support » Themes and Templates » Techism » [Resolved] Remove borders around images

[Resolved] Remove borders around images

  • Piani

    @webbmasterpianise

    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?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Instal Custom CSS plugin and try adding: a img { border:none; }

    Piani

    @webbmasterpianise

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

    Moderator Andrew Nevins

    @anevins

    Forum moderator

    Link the site with the issue

    Piani

    @webbmasterpianise

    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;
    }
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Remove borders around images’ is closed to new replies.
Skip to toolbar