Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1377369

    Hello,
    i have a page with team members and have two rows with the members. Now its on one row 3 members and on the other row 2. It looks good on the desktop but not in the mobile version. There are the three photos beside each other and the four photos under each other. I would like to have it by all in the bigger version, so that just one photo is shown.
    Is it possible to get a code for that? That would be great :)

    Thanks a lot!

    Many greeting
    rixi

    #1377388

    Hey rixi,

    This CSS is applying flex to those columns at all screen widths:

    .flex_column_table.av-b89tuv-2ea65aa8eb05e705e15b4e8def83cf9b {
        display: flex!important;
        justify-content: center!important;
    }

    It doesn’t seem to be coming from a theme file, maybe you know where it’s added? If you find it, then you wrap it in a media query in order for it not to apply to mobile devices.

    Best regards,
    Rikard

    #1377444
    This reply has been marked as private.
    #1377482

    Hi,

    If you don’t want that code to apply on mobile, then you need to place it in a media query:

    @media only screen and (min-width: 768px) {
      Your code goes here
    }

    Best regards,
    Rikard

    • This reply was modified 1 year, 10 months ago by Rikard.
    #1377502
    This reply has been marked as private.
    #1377510

    Hi,

    That media query will apply to mobile only. Did you try the media query I posted earlier?

    Best regards,
    Rikard

    #1377580
    This reply has been marked as private.
    #1377609

    Hi,

    You are still using the wrong media query, and it’s missing an ending curly bracket. Please try this instead:

    @media only screen and (min-width: 768px) {
    .flex_column_table.av-b89tuv-2ea65aa8eb05e705e15b4e8def83cf9b {
        display: flex!important;
        justify-content: center!important;
    }
    }

    Best regards,
    Rikard

    #1377615
    This reply has been marked as private.
    #1377681

    Hi,

    You had this in both Quick CSS and in the WordPress customiser:

    .flex_column_table.av-b89tuv-2ea65aa8eb05e705e15b4e8def83cf9b{
    	display:flex!important;
    	justify-content:center!important;
    }

    I removed that for you, and it’s working now.

    Best regards,
    Rikard

    #1377684

    Hi Rikard,
    great, thanks a lot!!!! Best support ever :)

    Many greetings rixi

    #1377739

    Hi,

    I’m glad that we could help you out. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

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