creceliusaf Posted March 25, 2021 Share Posted March 25, 2021 Site URL: https://www.kerndesignlab.com I'm trying to do two things: First, I'd like to get the section#featured-project (on the homepage) to appear the same on a large resolution monitor as on a 13-inch laptop -- meaning I'd like the featured image to bleed to the bottom edge of the section container, which it does not do on a laptop screen. Second, I'd like to get the section#featured-project (on the homepage) to appear the same on tablet screens as on mobile screens -- meaning I'd like it to stack, which it does not do on a tablet screen. I've tried multiple different sets of code in the design>CSS, but nothing seems to be working. I'm not sure what I should be targeting, a block, a page, a section, etc. I'd appreciate any help. Thanks. Link to comment
tuanphan Posted March 29, 2021 Share Posted March 29, 2021 Q1. You mean like this? Add to Design > Custom CSS /* featured */ section#featured-project>div { width: 100%; margin-left: 0; margin-right: 0; max-width: 100%; } Q2. Add to Design > Custom CSS /* featured tablet mobile */ @media screen and (max-width:900px) { div#page-60564f79ca24454a73152ec1 .span-12 .row { display: flex; flex-direction: column-reverse; justify-content: center; align-items: center; } div#page-60564f79ca24454a73152ec1 .span-12 .row .col { width: 100%; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.