Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1468114

    Hallo,

    ich würde gerne in einer Farb-Sektion vier Spalten nebeneinander auch auf Mobile (max-width: 767px) stehen lassen.

    Den Beitrag für die zwei Spalten (https://kriesi.at/support/topic/2-columns-side-by-side-on-mobile/) hatte ich bereits gefunden und das funktioniert bei mir auch.

    Nun habe ich versucht den Code anzupassen, was aber leider nicht zum gewünschten Ergebnis führt:

    /* Four Columns in color section even on mobile */
    .responsive #top #wrap_all .four-col .flex_column {
       width: 23.5%;
       margin-left: 0; 
    }
    
    .responsive #top #wrap_all .four-col .flex_column:is(:nth-child(4n+2), :nth-child(4n+3), :nth-child(4n+4)) {
       margin-left: 2%;
    }
    
    .responsive #top #wrap_all .four-col .flex_column:nth-child(4n+1) {
       clear: left; 
    }

    Die Spalten werden weiterhin untereinander angezeigt.
    Was mach ich an der Stelle falsch?

    Vielen Dank und Grüße aus Franken
    Bernd

    #1468144

    Hey boehmmedia,

    Thank you for the inquiry.

    Did you apply the name “four-col” in the Advanced > Developer Settings > Custom CSS Class field? We may need to inspect the elements to provide the appropriate modifications. Please provide the site URL in the private field.

    Best regards,
    Ismael

    #1468148

    Hi Ismael,

    yes, i did apply the class four-col in Developer Settings in the color section.

    I applied the css-code in quick-css.

    you will find the URL below – what i want to create is that the four icon boxes below “Alle Vorteile auf einen Blick” are in one row even on mobile.

    Kind regards
    Bernd

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.