-
AuthorPosts
-
February 12, 2018 at 11:12 am #911012
So that does indeed work. The only issue is that if you click on an image that isn’t currently selected, you have to then click it one more time to open the lightbox. Since the currently selected image does not have the ‘enlarged’ effect like it does on desktop, it isn’t obvious which image is currently selected, making it a bit non-intuitive, especially on the first and last images. Thoughts?
February 12, 2018 at 11:32 am #911027Hi,
Hmmm, can you try this one instead:
@media only screen and (max-width:767px) { .av-horizontal-gallery.av-horizontal-gallery-large-gap.av-horizontal-gallery-1.avia-builder-el-19 { overflow: visible !important; min-height: 214px !important; margin-bottom: 60px; } #top .av-horizontal-gallery-fullwidth .av-horizontal-gallery-wrap { max-width: 30vw; overflow: visible !important; } #top .av-horizontal-gallery-enlarge-effect .av-horizontal-gallery-wrap.av-active-gal-item { max-width: 40vw; } #top .av-horizontal-gallery-img { top: 0 !important; transform: none !important; } #top .av-active-gal-item .av-horizontal-gallery-img { top: -30px !important; } #top .avia-slideshow-controls a { opacity: 1; filter: alpha(opacity=100); } }
Best regards,
NikkoFebruary 12, 2018 at 11:45 am #911037Man, this makes me want to actually study css a bit :) That looks great! My only question remaining is: Do you know why the selected image isn’t dead center on mobile? It is indeed centered on desktop as expected. The default selected image is #3 of 5 so that it is symmetrical. Thank you SO much for your help.
February 13, 2018 at 1:02 am #911441Hey Nikko, So, the centering is really not the end of the world, don’t worry about it. The only other thing is when I place the gallery back in the color section where it belongs, your quick css code ceases to work. How must I modify it?
February 13, 2018 at 6:15 am #911542Hi csavalas,
I apologize, I couldn’t figure out why it’s not centering, if you place it in a Color Section, I would suggest adding an ID to the Section ID field, you can put it mygallery then replace the code I gave you to:
@media only screen and (max-width:767px) { #top #mygallery .av-horizontal-gallery { overflow: visible !important; min-height: 214px !important; margin-bottom: 60px; } #top #mygallery .av-horizontal-gallery-fullwidth .av-horizontal-gallery-wrap { max-width: 30vw; overflow: visible !important; } #top #mygallery .av-horizontal-gallery-enlarge-effect .av-horizontal-gallery-wrap.av-active-gal-item { max-width: 40vw; } #top #mygallery .av-horizontal-gallery-img { top: 0 !important; transform: none !important; } #top #mygallery .av-active-gal-item .av-horizontal-gallery-img { top: -30px !important; } #top #mygallery .avia-slideshow-controls a { opacity: 1; filter: alpha(opacity=100); } }
Let us know if this helps :)
Best regards,
NikkoFebruary 14, 2018 at 12:05 am #911985Unfortunately that does not seem to work correctly. I kept the id as ‘mygallery’ like you suggested for sake of simplicity in seeing what’s wrong.
February 14, 2018 at 4:25 am #912086Hi,
Hmm, Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
( do be sure that we have enough time to debug ). - Click ” Submit “.
- You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.
When your issue is fixed, you can always remove the plugin!
If you prefer to not use the plugin, you can manually create a admin user and post the login credentials in the “private data” field.Best regards,
NikkoFebruary 14, 2018 at 4:52 am #912094Ok, temporary login details are attached. Hopefully we can figure it out soon :)
February 14, 2018 at 7:55 am #912124Hi,
I have modified it, this is the code in Quick CSS now:
@media only screen and (max-width:767px) { #top #mygallery .av-horizontal-gallery { overflow: visible !important; min-height: 214px !important; margin-bottom: 60px; } #top #mygallery .av-horizontal-gallery-enlarge-effect .av-horizontal-gallery-wrap { max-width: 30vw; overflow: visible !important; } #top #mygallery .av-horizontal-gallery-enlarge-effect .av-horizontal-gallery-wrap.av-active-gal-item { max-width: 40vw; } #top #mygallery .av-horizontal-gallery-img { top: 0 !important; transform: none !important; } #top #mygallery .av-active-gal-item .av-horizontal-gallery-img { top: -30px !important; } #top #mygallery .avia-slideshow-controls a { opacity: 1; filter: alpha(opacity=100); } }
Let us know if it’s good or if changes are still needed :)
Best regards,
NikkoFebruary 14, 2018 at 8:33 am #912133That looks awesome, I appreciate your help a lot. Hope this thread helps someone else!
February 14, 2018 at 9:07 am #912143Hi csavalas,
I had a final look and finally figured it out, the columns should be the same size and that was causing the issue, I have updated the css code in Quick CSS and this is the right code:
@media only screen and (max-width:767px) { #top #mygallery .av-horizontal-gallery { overflow: visible !important; min-height: 214px !important; margin-bottom: 60px; } #top #mygallery .av-horizontal-gallery-enlarge-effect .av-horizontal-gallery-wrap { margin-left: 1.1666667vw; margin-right: 1.1666667vw; max-width: 32vw; overflow: visible !important; } #top #mygallery .av-horizontal-gallery-enlarge-effect .av-horizontal-gallery-wrap.av-active-gal-item { z-index: 2; -webkit-transform: scale(1.3); -ms-transform: scale(1.3); transform: scale(1.3); } #top #mygallery .av-horizontal-gallery-img { top: 0 !important; -webkit-transform: translate(0, 0) !important; -ms-transform: translate(0, 0) !important; transform: translate(0, 0) !important; } #top #mygallery .avia-slideshow-controls a { opacity: 1; filter: alpha(opacity=100); } }
If it’s all good you can remove the access you gave :) let us know if you still need further assistance.
Best regards,
NikkoFebruary 14, 2018 at 12:21 pm #912229Thank you so much!
February 14, 2018 at 3:30 pm #912307Hi,
You’re welcome, I think it’s fine to put it in the public content :) I checked it, the loading icon was centered until the cute little puppy pops out (image in private content) which pushes it down.
Best regards,
NikkoFebruary 14, 2018 at 11:48 pm #912546Hey Nikko!
What I mean is, on portrait mobile, that puppy image is skewed to the right for some reason, but not on desktop, and not on landscape mobile.
February 16, 2018 at 6:29 am #913135Hi,
I see, can you try adding this css code in Quick CSS:
@media only screen and (max-width:479px) { #top img.av-preloading-logo { max-width: 90%; } }
Let us know if this helps :)
Best regards,
NikkoFebruary 16, 2018 at 8:17 am #913167You’re the man Nikko!
February 16, 2018 at 1:43 pm #913249Hi,
You’re welcome and glad we could help :) Let us know if you need further assistance.
Best regards,
NikkoSeptember 26, 2020 at 5:21 am #1248552Hello,
I’ve read through this thread and tried to implement to my site with no luck. What I would like is for site-wide horizontal galleries on mobile devices to display with the white gap between images, and arrows to show you can click left and right.
Would really appreciate your assistance.
September 28, 2020 at 2:36 am #1248895Hi oladigital_co,
Can you give us the link to the page you are working with? so we can tweak the code for you.
Best regards,
NikkoSeptember 28, 2020 at 4:21 am #1248906Hi Nikko,
This is for the portfolio item entries (the website is in coming soon mode so have credentials for you attached).
https://celebratinginstyle.com.au/portfolio-item/elizabeth-and-anthony/
Thank you!
September 29, 2020 at 1:48 pm #1249381Hi oladigital_co,
Thanks for giving us admin access.
I have added this CSS code in Quick CSS:@media only screen and (max-width:767px) { #top.single-portfolio #section-container-width .av-horizontal-gallery { overflow: visible !important; min-height: 290px !important; margin-bottom: 20px; } #top.single-portfolio #section-container-width .av-horizontal-gallery .av-horizontal-gallery-wrap { max-width: 100vw; } #top.single-portfolio #section-container-width .avia-slideshow-controls { display: block !important; } #top.single-portfolio #section-container-width .avia-slideshow-controls a { opacity: 1; filter: alpha(opacity=100); } #top.single-portfolio #section-container-width .avia-slideshow-controls a:before { padding: 0 !important; } }
Let us know if you need any modification to it.
Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.