Hello @co50,
Thanks for updating the thread.
Rather then using auto generated class in for CSS, please add a class name to Column > Customize > Setup > Class. Here is a screencast on how to add a class name to Column.
After that update the previous code with following:
@media(min-width: 600px) and (max-width: 979px){
.screen {
width: 48% !important;
margin-right: 4%;
}
.screen:nth-child(2n) {
margin-right: 0;
}
}
Note: Screen
is the class name that I have used. Please update the class name in above code as per your requirement.
Please make sure to clear cache.
If you would like to learn CSS, I am sharing few resources that you take a look to get started with CSS and an interesting tool that you can use to speed up the development process.
I recommend you to watch following video that will help you to get started with CSS.
https://www.youtube.com/watch?v=MFR4WXiLzpc
Sometimes it can get a bit difficult to find out the right selector to be able to write the required CSS codes. A handy tool that can help you in this is Google Chrome dev tools. I am sharing the resource that you can refer to get started with dev tools.
https://developers.google.com/web/tools/chrome-devtools/css/
https://developers.google.com/web/tools/chrome-devtools/
https://www.youtube.com/watch?v=tP_kXBJWPhQ&t=200s
Thanks.