Ok that makes sense and what I thought so just adding <mvt:item name="readytheme" param="contentsection( 'hero_slider' )" /> to the first line of the content section on the storefront page should make it work correct? But when I add it wipes out the content on the page.
Announcement
Collapse
No announcement yet.
Turning Hero Image into a slider
Collapse
X
-
This is the code I have in the ReadyTheme Content section for the hero_slider
<<div id="js-hero-slider" class="hero-slider">
<mvt:item name="readytheme" param="contentsection( '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>
and this is the Item Tag: <mvt:item name="readytheme" param="contentsection( 'hero_slider' )" />
So if I put that on the first line in the content section of the Sf page and update it should work right? Gosh it just seems so simple.
Comment
-
The code for the ReadyTheme Content section should look 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 -->
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
-
I'm not seeing what you are referring to, but I am going to guess you are talking about the navigation dots. If that's the case, you can change their display in your JavaScript by changing dots: true to dots: falseMatt 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
-
Can you post a larger screen shot with the denotation, I cannot see anything in this one?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
-
I am not seeing that section on your site. Try clearing your cache and reloading the page, it may be stuck in your browser.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