Originally posted by Matt Zimmermann
View Post
Announcement
Collapse
No announcement yet.
SFNT: Hero Image slide show
Collapse
X
-
It's a little closer. I "think" it's to a point now that I "might" be able to fix it - thanks!
-
Hi Leslie,
I believe those classes already exist in your file, so you should just be replacing them.
Leave a comment:
-
Which lines does this replace or is it in addition to what is already there?
Leave a comment:
-
Hi Leslie,
Try updating your custom css with this:
Code:.hero-slider .slick-dots li button { display: block; width: 1rem; height: 1rem; padding: 0; font-size: 0; background-color: transparent; border: 0 none; } .hero-slider .slick-dots li button::before { display: block; width: 1rem; height: 1rem; line-height: 1; background: transparent; border: 1px solid #fff; border-radius: 1rem; opacity: 1; content: ''; }
- 1 like
Leave a comment:
-
Therein lies the rub - the CSS is there. I can even inspect it and see that is there, but it's not working.Originally posted by Matt Zimmermann View PostHi Leslie,
As long as that file is being called after all the core files, then it should be fine.
Leave a comment:
-
Hi Leslie,
As long as that file is being called after all the core files, then it should be fine.
Leave a comment:
-
Does the CSS have to go into the theme.css file? I had already added it to the custom.css file. Is that why it's not working?Originally posted by Matt Zimmermann View PostHi Leslie,
It looks like your CSS might need some updating. On page 1 of this thread is some CSS for your theme.css file which should update the dots for you.
Leave a comment:
-
Hi Leslie,
It looks like your CSS might need some updating. On page 1 of this thread is some CSS for your theme.css file which should update the dots for you.
Leave a comment:
-
I can DM the directory access to you if you like.Originally posted by Matt Zimmermann View PostHi Leslie,
Are you able to post a site link?
Leave a comment:
-
Revisiting this - I've got the slider part working but the dots are messed up. There are numbers displaying to the bottom right of each dot with a white bar before each dot.

Am I missing some CSS?
Leave a comment:
-
Shoot, looks like I must have been asleep when I made the first post. The HTML for the ReadyTheme Content Section should look more like this:
and the JavaScript like this:Code:<div id="js-hero-slider" class="hero-slider"> <mvt:item name="readytheme" param="image( 'img_slide01' )"/> <mvt:item name="readytheme" param="image( 'img_slide02' )"/> <mvt:item name="readytheme" param="image( 'img_slide03' )"/> <mvt:item name="readytheme" param="image( 'img_slide04' )"/> </div> <!-- end hero-slider -->
Code:$.ajax({ cache: true, crossDomain: true, dataType: 'script', url: theme_path + '/js/jquery.slick.min.js' }).done(function () { // ---- Hero Slide Show ---- // $('#js-hero-slider').slick({ arrows: false, autoplay: true, autoplaySpeed: 10000, dots: true, slide: '', responsive: [ { breakpoint: 960, settings: { dots: false } } ] }); });
- 2 likes
Leave a comment:
-
Is there perhaps any changes needed to the CSS? I still see nothing. Thanks.
Leave a comment:
Leave a comment: