- This topic has 1 reply, 2 voices, and was last updated 4 years, 4 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
The Horse Ranch WordPress Themes by SKT Themes are designed to highlight the beauty and professionalism of equestrian businesses. With stunning layouts for service descriptions, […]
Tarot WordPress Themes by SKT Themes offer visually stunning and intuitive designs tailored for spiritual services. With features like appointment booking systems, service sections, testimonial […]
Adventure Sports WordPress Themes by SKT Themes are designed to meet these needs with dynamic layouts, high-quality image galleries, and dedicated sections for services, tours, […]