Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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 3 months, 2 weeks ago by  mbosse99.
    #1196515

    Hey 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,
    Victoria

    #1196651

    That 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,
    Magnus

    #1197567

    Hi 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,
    Rikard

    #1197624

    Sorry, 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 3 months, 2 weeks ago by  mbosse99.
    #1197811

    Hi 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,
    Victoria

    #1197974

    Excellent, that solved it – thanks!

    #1198099

    Hi mbosse99,

    Glad we could help :)

    If you need further assistance please let us know.
    Best regards,
    Victoria

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Change blog grid setup – mobile vs PC?’ is closed to new replies.