
-
AuthorPosts
-
December 3, 2016 at 6:24 pm #720060
My big preview images aren’t resizing on mobile. I’m using the following custom CSS.
.big-preview.single-big img {
height: 314px;
min-height: 314px;
max-height: 314px;
width: 600px;
min-width: 600px;
max-width: 600px;
}.big-preview.single-big{ text-align: center; }
.big-preview.single-big a{ display: inline-block; }
#top.single-post .big-preview.single-big a,
#top.single-post .small-preview {
pointer-events: none;
cursor: default;
}December 3, 2016 at 6:41 pm #720061Hi adamp81!
THanks a lot for contacting us.
Can you please explain us what do you mean by resizing?
What exactly do you need them to do, how to interact?
What is not looking OK, so we can be able to help you.Thanks a lot
Best regards,
BasilisDecember 3, 2016 at 8:55 pm #720086December 4, 2016 at 7:52 am #720177Hi,
You have declared the images to always display 600px wide in your CSS so that is what they will do :-)
You could try using media queries on for smaller screens:
@media only screen and (max-width: 767px) { .big-preview.single-big img { width: 100%; min-width: 100%; max-width: 100%; } }
Please post a link to the site in question if you should need any further help.
Best regards,
RikardDecember 4, 2016 at 8:04 am #720182I only want the image to be a max of 600 px.
-
This reply was modified 8 years, 3 months ago by
adamp81.
December 5, 2016 at 5:53 am #720303Hi,
Ok, but for screens under 600 pixels wide the images will not display properly. How do you want the images to look then?
Best regards,
RikardDecember 5, 2016 at 6:11 pm #720578The image looks good when it’s full size. But you can see when you shrink the screen to go down to mobile that it only adjusts horizontally, not vertically…. Therefore the image gets distorted. I’d like it to resize with the same ratios so the image doesn’t get distorted.
December 6, 2016 at 10:14 am #720910 -
This reply was modified 8 years, 3 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.