Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am using the media queries to hide and show blocks depending on the screen width. The problem I cam across is trying to place a block in sidebar first. I use display:none in my global css, and then show it in my narrow css. the problem is that even if sidebar first is display:none the content gets the class of grid-9 instead of grid-12. Any help appreciated! =)
Comments
Comment #1
afountain CreditAttribution: afountain commentedOk, figured it out. What I did was changed the .container-12 .grid-9 and .container-12 .grid-9 %'s on my narrow and global css. Pretty simple, but you know... Hope that helps someone someday lol!
Comment #2
chaquea CreditAttribution: chaquea commentedMarked as fixed
Comment #3
chaquea CreditAttribution: chaquea commented