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

XF 1.4 Centered photos on screen in full size

Sunka

Well-known member
#1
If you click on photo in post, photo will expand (resize), but full size photo view is not centered. If user put photo in the end of text (on right side) when another user click on photo to see larger view of photo, photo expand but it is look all ugly.

Can this photos be centered on screen when they are expand to full size? Something like attachment thumbnail.
Some magic extra.css code :)

Thanks
 

Sunka

Well-known member
#2
Class is .bbCodeImageFullSize
I've tried many soluions via extra css, with and without !important but I have no luck.


Could somebody give me solution to center on screen full size photo (when user click on it in post).
 

Sunka

Well-known member
#3
This is part of bb_code_base.css which control full size images.

Code:
.bbCodeImageFullSize
{
    position: absolute;
    z-index: 50000;
    @property "primaryContent.background";
    background-color: rgb(120, 184, 144);
    @property "/primaryContent.background";
}
What code to insert there or in extra.css so full size images on click will be centered on screen?