breakpoints for gallery not working on view.xml #312
Answered
by
vovayatsyuk
delfidream
asked this question in
1. Help
-
Hello, I'm trying to change nav option for gallery only on mobile. (thumbs on desktop, dots on mobile). <var name="breakpoints">
<var name="mobile">
<var name="conditions">
<var name="max-width">991px</var>
</var>
<var name="options">
<var name="options">
<var name="nav">dots</var>
</var>
</var>
</var>
</var> but it's not working on breeze. Any help to get it to work? |
Beta Was this translation helpful? Give feedback.
Answered by
vovayatsyuk
Aug 6, 2024
Replies: 1 comment 1 reply
-
Breeze doesn't support Just pushed the commit that makes it easier to implement this feature for any media query. Using from your theme: & when (@critical) {
@media @media-md-down {
.breeze-gallery:not(.opened) .thumbnails {
.bz-gallery-nav-dots();
}
}
}
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
delfidream
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Breeze doesn't support
breakpoints
gallery feature, so you need to write styles for this.Just pushed the commit that makes it easier to implement this feature for any media query.
Using from your theme: