-
AuthorPosts
-
March 22, 2020 at 6:12 pm #1195270
Team:
the blog grid on my homepage currently shows 3 columns. However, if I watch it on a mobile there is only one column with a very large thumbnail.
I’d like to set it up such on mobile it only shows 2 columns with a respective small thumbnail. or alternatively with a listed view: thumbnail left, title right.
Kindly teach me how to do both.
Thanks!
Magnus- This topic was modified 4 years, 8 months ago by mbosse99.
March 24, 2020 at 3:46 pm #1196515Hey mbosse99,
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
@media only screen and (max-width: 767px) { .responsive #top #wrap_all .avia-content-slider-even .slide-entry.slide-parity-odd, .responsive #top #wrap_all .avia-content-slider-odd .slide-entry.slide-parity-even, .responsive #top #wrap_all .avia-content-slider-odd .slide-entry.first { clear: none; width: 48%; } .responsive #top #wrap_all .avia-content-slider-even .slide-entry-wrap .slide-entry.slide-parity-even.flex_column { margin-left: 4%; } }
If you need further assistance please let us know.
Best regards,
VictoriaMarch 24, 2020 at 4:18 pm #1196651That looks much better actually! Now could we have a few px space between the entries – see image:
https://snipboard.io/CD94uO.jpg
Best and thanks again,
MagnusMarch 25, 2020 at 5:50 am #1197567Hi Magnus,
Please try this CSS instead:
@media only screen and (max-width: 767px) { .responsive #top #wrap_all .avia-content-slider-even .slide-entry.slide-parity-odd, .responsive #top #wrap_all .avia-content-slider-odd .slide-entry.slide-parity-even, .responsive #top #wrap_all .avia-content-slider-odd .slide-entry.first { clear: none; width: 48%; } .responsive #top #wrap_all .avia-content-slider-even .slide-entry-wrap .slide-entry.slide-parity-even.flex_column { margin-left: 4% !important; } }
Best regards,
RikardMarch 25, 2020 at 11:18 am #1197624Sorry, no changes. The blog entries still stick to each other on mobile (here an older Android, but on iOS as well):
https://snipboard.io/LtIUiV.jpg
Thanks,
Magnus- This reply was modified 4 years, 8 months ago by mbosse99.
March 25, 2020 at 7:13 pm #1197811Hi Magnus,
Please add this code too:
@media only screen and (max-width: 767px) { .responsive #top #wrap_all .avia-content-slider-odd .slide-entry.slide-parity-even { margin-left: 4%; } }
If you need further assistance please let us know.
Best regards,
VictoriaMarch 26, 2020 at 8:56 am #1197974Excellent, that solved it – thanks!
March 26, 2020 at 4:41 pm #1198099Hi mbosse99,
Glad we could help :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- The topic ‘Change blog grid setup – mobile vs PC?’ is closed to new replies.