Forum Replies Created
-
AuthorPosts
-
March 8, 2022 at 8:44 pm in reply to: First horizontal gallery Initial Active Image moves after scrolling vertically #1343735
I found a workaround to this problem, which I wanted to share. The problem is that somehow the height of the images cannot be determined correctly, so one can just adjust it manually a few times depending on screen size:
.avia-mozilla .av-horizontal-gallery-inner { position: relative !important; } @media only screen and (max-width: 767px) { .avia-mozilla .av-horizontal-gallery-inner { height: 200px !important; } .responsive .av-horizontal-gallery-fullwidth .av-horizontal-gallery-wrap { padding-top: 0px !important; padding-bottom: 0px !important; } } @media only screen and (max-width: 650px) { .avia-mozilla .av-horizontal-gallery-inner { height: 180px !important; } } @media only screen and (max-width: 450px) { .avia-mozilla .av-horizontal-gallery-inner { height: 150px !important; } } @media only screen and (max-width: 400px) { .avia-mozilla .av-horizontal-gallery-inner { height: 130px !important; } }
May 16, 2019 at 12:51 pm in reply to: First horizontal gallery Initial Active Image moves after scrolling vertically #1101410Hi, thanks for narrowing it down. Unfortunately, this CSS code is necessary on all other browsers. Is it possible to specifically hide this horizontal gallery only for firefox users? And then display something else only for those users, e.g. a normal slider or static image?
May 13, 2019 at 10:58 am in reply to: First horizontal gallery Initial Active Image moves after scrolling vertically #1100002Hi,
unfortunately this didn’t help. Can you reproduce this issue on your end? Open a firefox window, make its width small and then load the site. Even on desktop this issue is present for me.
Thanks for helping me with all of this.Best regards
BannixMay 10, 2019 at 5:43 pm in reply to: First horizontal gallery Initial Active Image moves after scrolling vertically #1099347Hi, this happens on mobile and on desktop when making the window small. In the private section you can again find two screenshots of the issue.
May 5, 2019 at 1:06 pm in reply to: First horizontal gallery Initial Active Image moves after scrolling vertically #1097418Hi, changing the max-width did nothing, but I managed to fix it myself. My quick CSS now looks like this (the first part is to keep the original aspect ratios of the images, I did this previously by myself):
.responsive .av-horizontal-gallery-img { height: 100% !important; width: auto !important; object-fit: cover !important; } @media only screen and (max-width: 767px) { .responsive .av-horizontal-gallery-enlarge-effect .av-horizontal-gallery-wrap.av-active-gal-item { -webkit-transform: scale(1.3) !important; -ms-transform: scale(1.3) !important; transform: scale(1.3) !important; } .responsive .av-horizontal-gallery-fullwidth .av-horizontal-gallery-wrap { padding-top: 20px !important; padding-bottom: 50px !important; } }
Now everthing is exactly like I wanted it to be. But, there is still one problem: The gallery works fine on Chrome and Safari, but on Firefox it does some weird stuff and the images are all over the place and the controls of the gallery don’t work. Why is this the case now?
May 4, 2019 at 11:34 pm in reply to: First horizontal gallery Initial Active Image moves after scrolling vertically #1097314Hi, thanks! I have no clue why this works, but it does. The weird behavior with the scrolling is now gone. However, the active picture is now cut off at the top and the bottom, because it gets enlarged, i.e. the container of the gallery is too small (?). How could one increase this accordingly?
May 4, 2019 at 7:52 pm in reply to: First horizontal gallery Initial Active Image moves after scrolling vertically #1097291Hi, added the code under Quick CSS but unfortunately it changed nothing.
The horizontal gallery still transitions to mobile view when shrinking the window. You can see this because all of the pictures are the same height in mobile. In desktop mode, the active picture is always slightly bigger.April 30, 2019 at 12:07 am in reply to: First horizontal gallery Initial Active Image moves after scrolling vertically #1095520Well, the full width easy slider isn’t quite what I’m looking for. And this problem is probably a bug within the mobile version of the horizontal gallery, as it happens on two different browsers (and I’ve now reproduced it on multiple real mobile devices of friends). Is it possible to deactivate the transformation of the horizontal gallery when going just below 768px, i.e. having the desktop verison show on mobile?
April 26, 2019 at 3:33 pm in reply to: First horizontal gallery Initial Active Image moves after scrolling vertically #1094750When using Firefox app on mobile, this even happens without scrolling, i.e. the intial active image is not centered by default, which shouldn’t be the case. Can you reproduce this on your side?
- This reply was modified 5 years, 6 months ago by Bannix.
April 23, 2019 at 12:46 pm in reply to: First horizontal gallery Initial Active Image moves after scrolling vertically #1093643Hi, thank you for the quick response.
As I said, this does not happen when using a desktop device, even when making the window small enough to activate the mobile view of the gallery. It specifically happens on a smartphone (1080×1920) when using Google Chrome app. I attached two pictures (via dropbox) to show the website before and after scrolling down and then up again.Best regards,
BannixI fixed it myself:
@media only screen and (max-width: 767px){ .responsive .av-horizontal-gallery-img { height: 200px !important; width: auto !important; object-fit: cover !important; } }
This thread can be closed I think.
May 31, 2016 at 7:22 pm in reply to: Menu highlights the wrong item (single page site with anchors in menu) #641036The problem isn’t very consistent, maybe it has to do with the scrolling itself or something.. Edit: It has to do with screen size. On big screens “Kontakt” is highlighted after clicking on “Referenzen” because you can already see the “Kontakt”-color section completely. On my small laptop screen it bugged (as said in first post) because of the scaling factor that i had active..
You can close this thread I think. My problem has nothing to do with your theme :)- This reply was modified 8 years, 5 months ago by Bannix.
-
AuthorPosts