Different CSS for article templates

3 Comments

  • Christopher Stock
    Community Moderator
    Zendesk Luminary

    Hi Kimber Wiggs, you could add an additional css selector to the div that currently has the .article-body selector. Then add something like the following to your stylesheet:

    .article-body img {
      height: auto;
      max-width: 100%;
      border: 1px solid #ECECEC;
      border: 1px solid rgba(0, 0, 0, 0.07);
      padding: 3px;
    }

    .the-new-class img {
    border: none !important;
    }

    Your html would look like this:

    <div class="article-body the-new-class">
    <img>
    </div>
    1
  • Kimber Wiggs

    Thank you so much! 

    0
  • Joseph S Williams

    Thanks Christopher Stock

    0

Please sign in to leave a comment.

Powered by Zendesk