Different CSS for article templates

3 Commentaires

  • christopher.stock
    Community Moderator

    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

Vous devez vous connecter pour laisser un commentaire.

Réalisé par Zendesk