Thank you so much, @tristup!
I’m not using the Image element (is that cornerstone?), these are for normal image posts showing up on category pages. I have this code:
.category .entry-content.content img {
max-width: 80%;
}
.category .entry-content.content .wp-block-image.size-large {
max-width: 80%;
}
@media (max-width: 480px){
.category .entry-content.content .wp-block-image.size-large {
width: 100% ! important;
margin-left: 0;
}}
However it is still 80% on mobile as well. Unless I change the first two max-width to 100%, I am unable to show it as 100% on mobile. Is there a way to tweak this code to show 80% width on desktop and 100% on mobile, please?
Thanks a ton!
Ramya