Hi,
I have two one_fourth columns. On mobile they scale nicely under each other. However, not on a tablet, so that the text is not beautiful. How can I ensure that even on larger screens, such as a tablet, the second 1/4 column is placed below the other? I tried different CSS codes, but unfortunately I have not yet found the solution.
I put the link in the private content. It concerns the colored boxes where the picture is (left) and text with button (right)
thanks in advance!
Kind Regards,
Hey phouthuijzen,
Please try this in Quick CSS:
@media only screen and (max-width: 1024px) {
main.content .av_one_fourth {
width: 100%;
}
}
This will apply globally to your site, that means that all 1/4 elements will be affected by it on tablet sizes. If you want more specific CSS, then please let us know.
Best regards,
Rikard
Hi Rikard,
Unfortunately it doesn’t work.I put an example in the private content how it looks with this CSS. Unfortunately no difference.
Best Regards,
Hi phouthuijzen,
Can you try adding this CSS code in Quick CSS:
@media only screen and (max-width: 1024px) and (min-width:768px) {
#top.page-id-1387 .no_margin.av_one_fourth {
width: 50%;
}
}
Hope it helps.
Best regards,
Nikko
Hi Nikko,
Thank you. This CSS works, but i want it for my whole site, and with this CSS code it is only for page-id-1397. Can you change the above CSS code for my whole site?
Best Regards,
Hi phouthuijzen,
You can use this code to make it global:
@media only screen and (max-width: 1024px) and (min-width:768px) {
#top .no_margin.av_one_fourth {
width: 50%;
}
}
Let us know if this helps.
Best regards,
Nikko
Hi Nikko,
Yes this helps! Thank you!
Best Regerds,
Hi phouthuijzen,
We’re happy to hear that :)
Thanks for using Enfold and have a great day!
Best regards,
Nikko