Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #1468442

    hello on the site https://www.studiolegalepsicologico.it/supporto-legale-psicologico/ I would like the 10 images after the title “settori di attività” to be seen in rows of two columns only on the mobile version is it possible?
    thanks gianluca

    #1468446

    can you please exclude the text-block with the heading to an extra section before that section with all those “Settori”
    by the way – why don’t you use for a heading a heading element instead of putting the heading inside a text-block element?

    after that – we can handle the whole container as a flex container
    no need for a second color-section handling the other layouts for responsive design.

    #1468458

    If you have looked at my suggestion, I will remove your pictures.
    the ID is only for a anchor navigation if you like

    https://webers-testseite.de/giulia/

    #1468462

    hi and thanks for your help I should have done exactly as you told me but I always see the same on mobile while I would like more columns on the same row otherwise the scrolling is infinite

    #1468468

    Hi,

    Thanks for helping out @guenni007 :-)

    Best regards,
    Rikard

    #1468484

    look to the layout image again – the color-section with your columns should have the custom-class : settore-attivita
    you gave to it an ID : settore-attivita

    If you like to have only 2 columns beside – even on mobile phone just get rid of last media query rules:

    @media only screen and (max-width: 549px) {
      #top .settore-attivita .entry-content-wrapper .flex_column {
        flex: 1 1 100%;
      }
    }
    #1468485

    Hi,
    Thanks for your solution Guenni007, when I follow it seems to works good:
    Screen Shot 2024 10 05 at 2.41.12 PM

    Best regards,
    Mike

    #1468486

    Thanks but I did exactly as you told me:
    #top .settore-attivita .entry-content-wrapper {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    }

    #top .settore-attivita .entry-content-wrapper:before,
    #top .settore-attivita .entry-content-wrapper:after {
    display: none !important;
    }

    #top .settore-attivita .entry-content-wrapper .flex_column {
    flex: 0 1 19%;
    width: unset !important;
    margin: 0px;
    }

    @media only screen and (max-width: 989px) {
    #top .settore-attivita .entry-content-wrapper .flex_column {
    flex: 0 1 30%;
    }
    }

    @media only screen and (max-width: 767px) {
    #top .settore-attivita .entry-content-wrapper .flex_column {
    flex: 0 1 48%;
    }
    }

    @media only screen and (max-width: 549px) {
    #top .settore-attivita .entry-content-wrapper .flex_column {
    flex: 1 1 100%;
    }
    }

    But on mobile phone I still see one column for each row

    #1468487

    Thanks but I did exactly as you told me:

    no you did not !

    look to the layout image again – the color-section with your columns should have the custom-class : settore-attivita
    you gave to it an ID : settore-attivita

    An ID is not a class

    Why i choose for it a class:
    An ID had to be unique on the page.
    If you like to use it on that page again for a different section – you can use that class again. An ID not

    • This reply was modified 2 months, 2 weeks ago by Guenni007.
    #1468489

    if you want it 5 columns on desktop and on mobile always 2 column:

    #top .settore-attivita .entry-content-wrapper {
      display: flex;
      flex-flow: row wrap;
      justify-content: space-between;
    }
    
    #top .settore-attivita .entry-content-wrapper:before,
    #top .settore-attivita .entry-content-wrapper:after {
      display: none !important;
    }
    
    #top .settore-attivita .entry-content-wrapper .flex_column {
      flex: 0 1 19%;
      width: unset !important;
      margin: 0px;
    }
    
    @media only screen and (max-width: 767px) {
      #top .settore-attivita .entry-content-wrapper .flex_column {
        flex: 0 1 48%;
      }
    }
    }

    you see how it works ?

    #1468494

    Ok now I understood and it work perfectly.
    Thank you very much for your assistance and your patience too!
    GREAT

    #1468506

    non c’è di che

    #1468510

    Hi,

    Thanks for the update. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

    #1468512

    You can close. Wonderful support as usually

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘2 or more columns on a row’ is closed to new replies.