- This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hello,
do you know why my gallery doesn’t fit the whole container?
http://www.behatex.ayz.pl/galeria/
Thanks!
I’m not entirely sure how this is suposed to look but I’d start with the padding and fixed widths
#primary > div:nth-child(1) {
padding: 3%;
background: rgba(225, 224, 224, 0.3)!important;
}
@media (min-width: 1200px)
resortica-lite.…r=27062016:862
.container {
width: 1170px;
}
Please take a look once again. Now the tiled images gallery fits 2/3 of the grey container instead of 100%.
I’m assuming you’re using some plug-in or somthing…the widths are hard-coded in the HTML…perhaps added by JS
<div class="tiled-gallery type-square" data-original-width="640"
and
<div class="gallery-row" style="width: 640px;height: 320px;"
It was Jetpack. But even if I paste a simple image (the blue one) – it’s still the same…
It seems clear you need to configure Jetpack somehow to your requirements.
You’re right – it was Jetpack setting called “Photon – your images are automatically optimized for different display resolutions to serve the best possible image quality”. Thanks for your patience!