Tagged: enfold, Masonry Gallery
-
AuthorPosts
-
November 26, 2019 at 7:25 pm #1160434
Hi there,
I saw a thread on this in an earlier post but the person posting solved it themselves so there was no solution presented :(I’m using the masonry gallery on a page and it lines up perfectly on mobile devices, and iPads. I have a page containing 5 portfolios lined up on 2 rows. When I view the page on my laptop the fifth portfolio doesn’t align left on the second row – it sits directly under the third portfolio. This isn’t the case on an iPad or mobile device. The reason for this appears to be down to the first 2 portfolios having titles that stretch over 2 lines whereas the others (on my laptop at least) on sit on 1 line. Is there a way to make it sit on the second row and fully align left? I’ve tried using grid, perfect masonry etc.. but they either cover the image with the title too much or crop/stretch the image. I’m trying to get a visible image with the title underneath visible so users can select the named portfolio.
Hope this makes sense.
November 28, 2019 at 12:55 pm #1160933Hey Valinsy,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Best regards,
VictoriaNovember 28, 2019 at 1:02 pm #1160938Hi Victoria,
Thanks for coming back – credentials attached.
December 3, 2019 at 2:03 pm #1162204This reply has been marked as private.December 4, 2019 at 10:01 pm #1162738Hi,
I loaded the page but I didnt saw the issue so can u show with a screenshot how we should be handling this please?
Best regards,
BasilisDecember 5, 2019 at 1:26 pm #1162970Hi Basilis,
I’m not sure if I’ve done this correctly but I’ve uploaded a screenshot here.
Hopefully this works
ThanksDecember 5, 2019 at 8:25 pm #1163192Hi Valinsy,
Best regards,
VictoriaDecember 6, 2019 at 11:21 am #1163335Hi Victoria,
Thanks for your help
GraceDecember 7, 2019 at 3:15 pm #1163585Hi Valinsy,
Best regards,
VictoriaDecember 9, 2019 at 12:46 pm #1164024Hi Victoria,
Many Thanks
ValinsyDecember 10, 2019 at 5:19 pm #1164514Hi Valinsy,
Best regards,
VictoriaDecember 11, 2019 at 2:45 pm #1164824Hey,
I tried checking your site but i am blocked as well. I am located in Lithuania. Could you please temporarily disable IP restriction?
Best regards,
YigitDecember 11, 2019 at 5:11 pm #1164880Hi Yigit,
You should have access now.Best Regards
ValinsyDecember 13, 2019 at 4:51 am #1165401Hi,
Thank you for the inquiry.
Yon can apply a minimum height to the title or content container so that the items will still be perfectly aligned even if the title of an item is not long enough to create another line.
@media only screen and (max-width: 1366px) { .av-inner-masonry-content { min-height: 79px; } }
Best regards,
IsmaelDecember 17, 2019 at 2:58 pm #1166848HI Ismael,
Thanks for this – I’ve been playing around with this code for a few days and while it works in some instances – I just have to be a bit more consistent in the length of the names because on some containers there were a lot of extra space around the text.My problem now is that while this works better on the events page where the titles are longer, on the actual portfolios (where the titles are a short number reference) there is too much space surrounding the text. (especially on phones)
Is there an extra piece of code I could include that allows me to define the max height on the containers on the portfolio pages on mobile devices only?
I’ve added the ID event-gallery to the Masonry Gallery on the portfolio pages to identify the containers I need to control but I don’t know how to phrase the code in the CSS.Many Thanks
GraceDecember 20, 2019 at 4:55 am #1168030 -
AuthorPosts
- You must be logged in to reply to this topic.