-
AuthorPosts
-
May 14, 2018 at 8:50 pm #956660
Hi, how can I center align the masonry element on mobile?
May 16, 2018 at 3:58 pm #957557Hey DROR,
I have checked the link you gave but I don’t see any masonry, please check.
Best regards,
NikkoMay 16, 2018 at 6:41 pm #957635This reply has been marked as private.May 16, 2018 at 6:47 pm #957638Hi,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:
CSS Snippet:
/* Masonry mobile CSS */ @media only screen and (max-width: 480px) { .av-large-gap.av-fixed-size .av-masonry-entry .av-inner-masonry { right: 0; }}Best regards,
YigitMay 16, 2018 at 6:56 pm #957644Thanks Yigit! how can I make the masonry RTL so when there is only one item to be shown in a row it will be shown on the right site instead of the left?
May 21, 2018 at 6:14 am #959573Hi,
Thanks for the update. This might help.
// https://kriesi.at/support/topic/masonry-element-is-not-aligned-to-the-center/#post-931022
It’s an old thread from you.
Best regards,
IsmaelMay 21, 2018 at 1:07 pm #959723Hi, I tried that but I can’t find that line in the shortcodes JS file
May 23, 2018 at 2:47 am #960595Hi bakbek,
You should find it in enfold > config-templatebuilder > avia-shortcodes > masonry_entries > masonry_entries.js (line 49).
Hope this helps :)Best regards,
NikkoJuly 7, 2018 at 10:05 am #982358Thanks. Will that be undone when I update the theme?
July 7, 2018 at 2:39 pm #982476Hi bakbek,
It will unless you copy the file to the child theme and make your changes there.
If you need further assistance please let us know.
Best regards,
VictoriaJuly 8, 2018 at 12:48 pm #982685To where exactly should I copy the file to? What folder/path on my child theme?
July 9, 2018 at 12:09 pm #983052Hi bakbek,
It should be the same folder structure
enfold > config-templatebuilder > avia-shortcodes > masonry_entriesIf you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.
