HI I am using the Levels Readytheme and on the SF page there is space between the bottom of the Hero image and Promo Images. Can anyone direct me to where and what code I would need to change to narrow up that space? Thanks
Announcement
Collapse
No announcement yet.
Levels ReadyTheme. How to narrow space between Hero Image and Promo Imagea
Collapse
X
-
That margin is set in your theme.css using the class .hero-sliderMatt Zimmermann
Miva Web Developer
Alchemy Web Development
https://www.alchemywebdev.com
Site Development - Maintenance - Consultation
Miva Certified Developer
Miva Professional Developer
https://www.dev4web.net | Twitter
-
HI Below is the code in the theme.css file for the hero-slider. Can you tell me what I need to change to narrow that space up between the hero image and the promo images.
.hero-slider {
margin-bottom: 3rem;
visibility: hidden;
}
.hero-slider.slick-initialized {
visibility: visible;
}
.hero-slider img {
width: 100vw;
}
.hero-slider .slick-dots {
background: rgba(0, 0, 0, 0.3);
border-radius: 1rem;
bottom: 2rem;
left: 50%;
line-height: 2;
margin: 0;
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translateX(-50%);
width: 7rem;
}
.hero-slider .slick-dots li {
margin: 0 0.25rem;
vertical-align: middle;
width: 1rem;
height: 1rem;
}
.hero-slider .slick-dots li button {
width: 1rem;
height: 1rem;
padding: 0;
}
.hero-slider .slick-dots li button::before {
line-height: 1;
width: 1rem;
height: 1rem;
content: '';
opacity: 1;
background: transparent;
border: 1px solid #fff;
border-radius: 1rem;
}
.slick-dots li.slick-active button:before {
background: #fff;
color: transparent;
opacity: 1;
}
Comment
-
Change the margin-bottom value here:
Code:.hero-slider { margin-bottom: 3rem; visibility: hidden; }
Matt Zimmermann
Miva Web Developer
Alchemy Web Development
https://www.alchemywebdev.com
Site Development - Maintenance - Consultation
Miva Certified Developer
Miva Professional Developer
https://www.dev4web.net | Twitter
Comment
-
Yes, clearing your cache should be a normal step when making CSS or JavaScript updates.Matt Zimmermann
Miva Web Developer
Alchemy Web Development
https://www.alchemywebdev.com
Site Development - Maintenance - Consultation
Miva Certified Developer
Miva Professional Developer
https://www.dev4web.net | Twitter
Comment
Comment