-
AuthorPosts
-
January 2, 2023 at 11:07 am #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
rixiJanuary 2, 2023 at 7:26 pm #1377388Hey 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,
RikardJanuary 3, 2023 at 10:52 am #1377444This reply has been marked as private.January 3, 2023 at 5:32 pm #1377482Hi,
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.
January 3, 2023 at 7:56 pm #1377502This reply has been marked as private.January 3, 2023 at 8:30 pm #1377510Hi,
That media query will apply to mobile only. Did you try the media query I posted earlier?
Best regards,
RikardJanuary 4, 2023 at 2:01 pm #1377580This reply has been marked as private.January 4, 2023 at 4:01 pm #1377609Hi,
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,
RikardJanuary 4, 2023 at 4:26 pm #1377615This reply has been marked as private.January 5, 2023 at 10:08 am #1377681Hi,
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,
RikardJanuary 5, 2023 at 10:47 am #1377684Hi Rikard,
great, thanks a lot!!!! Best support ever :)Many greetings rixi
January 5, 2023 at 8:29 pm #1377739 -
AuthorPosts
- You must be logged in to reply to this topic.