- This topic has 1 reply, 2 voices, and was last updated 4 years, 3 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › All Other Themes › SKT Golf slider
Hello Support,
When I tried to increase the slider image size in small screens using following code,
@media screen and (max-width:767px) {
.nivoSlider img {
max-width: 220% !important;
width: 220% !important;
margin-left: -60%;
}
my mobile phone alignment look ugly.
Please see the image below
https://imgur.com/QC8FjlH
How do I keep the image height big but it won’t show the out of proportion portion.
In fact, I don’t want to see the empty space in mobile version while I keep my home page slider height the same.
Please see the image below
https://imgur.com/oI63tCI
I want to keep it like it always and not allowing clients to move to the right where the empty space.
Thank you
Hi,
Remove:
@media screen and (max-width:767px) {
.nivoSlider img {
max-width: 220% !important;
width: 220% !important;
margin-left: -60%;
}
And Add this new CSS:
.title { line-height:10px;}
.nivoSlider img {
max-width: 160% !important;
width: 160% !important;
margin-left: -60%;
}
Regards,
Chris
Looking for the best fastest WordPress themes? Stop right here! These lightning-fast themes are optimized for peak performance without sacrificing style. Perfect for speed-conscious bloggers, […]
Searching for the best baby products WordPress themes? We’ve got you covered! These themes combine adorable designs with powerful e-commerce features. Perfect for baby shops, […]
Want the best WordPress curriculum vitae themes? You’ve found them! Create a stunning digital portfolio that showcases your skills and experience. These themes offer sleek […]