I am trying to use a flickity gallery. The images I am using however are not great resolution, about 700x500, so they look bad when the browser window is too big as they are scaled up. Is there a way to like, limit the max height of the gallery so they don't scale up? Any other possible suggestion?
Could you elaborate a little further? Is it that the code didn't work? Or is it that this solution isn't the best option for you. Please let us know and provide a little more information so we can decide on how to proceed.
Ok sorry about that. I took another look. It looks like that last code you sent didn't save properly in the salient theme options so it looked like the original code you sent. I tried it again and it actually worked pretty good, but I noticed a bit of horizontal stretching depending on the screen width. What I found worked pretty good was this:
Which just restricted it to the actual size of the images. How can I target the CSS to just those galleries with the extra class name "course_descriptions" so that the other flickity galleries work normally?
Aright man thanks a lot for your help that works pretty great right now. Awesome theme and keep up the good work. I'm trying out other themes every once in a while like infinite, avada, divi, but I keep coming back to salient. Is there anywhere people can post like, feature requests or anything? Do you guys have a list of features you are working on for the next update?
Hi,
I am trying to use a flickity gallery. The images I am using however are not great resolution, about 700x500, so they look bad when the browser window is too big as they are scaled up. Is there a way to like, limit the max height of the gallery so they don't scale up? Any other possible suggestion?
Thanks
Hey Again, Hope you had a Great Weekend,
Please provide the page url so that i can write up the custom css for whats possible.
Thanks
ThemeNectar Support Team
Hi Steve,
Thanks for the site access.
Try using the following code to set the max height of the gallery on larger screens:
You can try adjusting the value to suit your needs.
I hope this helps. Please feel free to contact us if you have any further questions.
Best Regards.
that was close, but it didn't shrink the width of the images proportionally so now they are squished. you can take a look on the page right now.
Hi Steve,
Thanks for getting back to us.
You could try using the following CSS instead:
Please feel free to contact us if you have any further questions.
Best Regards.
Hmm still no dice :/
Hi Steve,
Thank you for getting back to us.
Could you elaborate a little further? Is it that the code didn't work? Or is it that this solution isn't the best option for you. Please let us know and provide a little more information so we can decide on how to proceed.
Hope to hear from you soon.
Best Regards.
Ok sorry about that. I took another look. It looks like that last code you sent didn't save properly in the salient theme options so it looked like the original code you sent. I tried it again and it actually worked pretty good, but I noticed a bit of horizontal stretching depending on the screen width. What I found worked pretty good was this:
@media only screen and (min-width: 1440px){
.nectar-flickity:not(.masonry) .flickity-slider .cell img{
max-height: 542px!important;
width: auto!important;
}
.flickity-viewport{
height: 560px!important;
}
.nectar-flickity:not(.masonry) .flickity-slider .cell{
width: 770px!important;
}
}
Which just restricted it to the actual size of the images. How can I target the CSS to just those galleries with the extra class name "course_descriptions" so that the other flickity galleries work normally?
Hi Steve,
Thanks for getting back to us.
Targeting the CSS to just that class can be done by adding ".course_descriptions " to the beginning of each of your CSS rules.
Best Regards.
Aright man thanks a lot for your help that works pretty great right now. Awesome theme and keep up the good work. I'm trying out other themes every once in a while like infinite, avada, divi, but I keep coming back to salient. Is there anywhere people can post like, feature requests or anything? Do you guys have a list of features you are working on for the next update?
Hi Steve,
Thanks for getting back to us and for using Salient
For feature requests you can post them here and I'll pass them onto the developers.
Feel free to contact us if you have any other questions as well.
Cheers!