Support » Theme: Hemingway » Removing Border From Images

  • Resolved WebTeamAdmin

    (@varsitysports)


    Anders,

    Thanks, once again, for building Hemingway. All in all, it’s awesome!

    I think I’ve asked this before — perhaps more than once:

    How do I remove that little gray border around images? It doesn’t appear around the feature image, only around those in the body of articles.

    I’ve tried hand-coding it individually by adding border=0 to the img tag, and I’ve tried img {border: 0px;} in the Additional CSS, but neither worked.

    Clues, please? And thank you!

    • This topic was modified 2 years, 1 month ago by WebTeamAdmin.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • ADD NOTE: I’ve tried fixing this in both the straight-out-of-the-box Hemingway, and with child spawns.

    • This reply was modified 2 years, 1 month ago by WebTeamAdmin.
    Theme Author Anders Norén

    (@anlino)

    Hi @varsitysports,

    To remove the border, go to Appearance > Customize > Additional CSS (the menu labels might be different in your language) where you enter the following code:

    .post-content img {
       border: none !important;
       padding: 0;
    }

    Let me know how it goes.

    — Anders

    It worked like a charm, instantly! Thank you again, Anders!!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Removing Border From Images’ is closed to new replies.