0

How can I center justify images in Articles?

How can I center justify images in Articles? Is this already in the CSS? 

5replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • Hi Lincoln Hall , thanks for your question! You can center images in articles by adding this to your custom CSS: 

    .formatted .inline-image {
        display: block;
        text-align: center;
    }
    Like
  • Hi there, where exactly needs this block to be added?

    Like
    • Martin Zimny This CSS code would be added into your custom CSS panel, which you can find in Admin > Themes > Custom > CSS.

      Like
    • Forumbee Support Thank you! Will this just center all images in existing articles or add the possibility to center an image when I draft one?

      Like
    • Martin Zimny This will center all images in all articles, existing and new. Note that the style only applies to the customer-facing community, not in the Admin > Moderate area.

      Like
Like Follow
  • Status Answered
  • 1 mth agoLast active
  • 5Replies
  • 35Views
  • 3 Following