• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 How to add a line break after images?

Amin Sabet

Well-known member
I am trying to add an automatic line break after BBcode images. I found this CSS suggested by @Jake Bunce in another thread:

    display: block;
However, that prevents centered images from showing as centered.

I was thinking this one should work to add the line break without affecting centering:

    content: "\A";
    white-space: pre;
But it doesn't seem to do anything at all.

Does anyone know how I can accomplish the line break without affecting centering?