0

How can I center justify images in Articles?

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

5 replies

null
    • Forumbee
    • 3 yrs ago
    • Reported - view

    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;
    }
    • Martin_Zimny
    • 2 yrs ago
    • Reported - view

    Hi there, where exactly needs this block to be added?

      • Forumbee
      • 2 yrs ago
      • Reported - view

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

      • Martin_Zimny
      • 2 yrs ago
      • Reported - view

      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?

      • Forumbee
      • 2 yrs ago
      • Reported - view

      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.

Content aside

  • Status Answered
  • 2 yrs agoLast active
  • 5Replies
  • 58Views
  • 3 Following