I attempted to enhance the appearance of my website by adding CSS code to the child theme's stylesheet, specifically targeting mobile devices. However, despite my efforts, the changes did not take effect.
/* Styling for Mobiles in Portrait Mode */
@media only screen
and (max-width : 320px) {
.widget-area {
float: left;
width: 100%;
background-color: #E3E3E3;
}
}
/* Styling for Mobiles in Landscape Mode */
@media only screen
and (min-width : 321px)
and (max-width : 480px) {
.widget-area {
float: left;
width: 100%;
background-color: #E3E3E3;
}
}
If you'd like to see my attempts for yourself, visit my WordPress website.