- This topic has 1 reply, 2 voices, and was last updated 1 year, 7 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 Solar Power – slider display
Hi. I’m using your SKT Solar Power theme at https://419aesthetics.com/. I would like the full slider image to display when I view it on a phone. Right now, I’m seeing less than half of the lady in the image. I added the following code:
@media (max-width: 767px) {
.nivoSlider img {
object-fit: contain !important;
height: auto !important;
}
.slider-main .nivo-caption .slidedesc {
padding-bottom: 15px;
}
This fixed the issue when I view it on my computer and shrink the browser to the size of a phone, but it didn’t actually fix it when viewing it on a phone. (After using two different browsers on my phone, I even texted the link to someone else and had him send me a screenshot of what they saw to ensure it wasn’t just my phone having the issue.)
Please help.
Thanks,
Courtney
Hi,
Kindly use this CSS to resolve the issue.
@media screen and (max-width:479px) {
.nivoSlider img {
max-width: 140% !important;
width: 140% !important;
margin-left: -40%;
}
}
Regards,
Dave
TYPO3 to WordPress Migration If you want to migrate your website from TYPO3 to WordPress, here are the full-fledged solutions. Though the migration process can […]
Umbraco to WordPress Migration A content management system is important for any small to big business. It helps to make your digital platform strong and […]
In the event that you have both a WordPress site and a YouTube channel, you should need to incorporate these stages. One route is by […]