- This topic has 1 reply, 2 voices, and was last updated 5 years, 1 month 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
Do you want to activate WordPress plugins from the database? This term is new yet interesting to learn. And if you are looking for an […]
Image Gallery WordPress Plugins You’ve got stunning visuals, but WordPress’s built-in gallery block is too basic. It doesn’t let you do fancy layouts, lightboxes, or […]
Insert Headers and Footers Plugins When you need to add essential scripts—think Google Analytics, Facebook Pixel, or custom CSS—to your site, modifying theme files is […]