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
    • 5 yrs agoFri, May 8, 2020 at 5:13 PM UTC
    • 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
    • 3 yrs agoTue, August 31, 2021 at 8:25 AM UTC
    • Reported - view

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

      • Forumbee
      • 3 yrs agoTue, August 31, 2021 at 8:36 AM UTC
      • 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
      • 3 yrs agoTue, August 31, 2021 at 9:16 AM UTC
      • 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
      • 3 yrs agoWed, September 1, 2021 at 1:10 AM UTC
      • 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
  • 3 yrs agoWed, September 1, 2021 at 1:10 AM UTCLast active
  • 5Replies
  • 59Views
  • 3 Following