RecapRabbitHole Posted May 19, 2020 Share Posted May 19, 2020 Site URL: https://www.recaprabbithole.com/recap/dr-anthony-fauci I want everything except text, to stretch across the whole screen on all of the actual blog posts themselves. on Mobile only. See attached image: This worked: /* make image fullwidth */ .blog-item-wrapper article.entry { padding-left: 0; padding-right: 0; } /* make spacing between text blocks - both side */ .blog-item-wrapper .sqs-layout>.row>.col>div:not(.image-block) { padding-left: 8vw; padding-right: 8vw; } html, body { overflow: hidden; } - recaprabbithole.com Link to comment
tuanphan Posted May 20, 2020 Share Posted May 20, 2020 Add to Home > Design > Custom CSS @media screen and (max-width:767px) { .blog-item-wrapper .image-block { padding-left: 0; padding-right: 0; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
RecapRabbitHole Posted May 20, 2020 Author Share Posted May 20, 2020 .blog-item-wrapper .image-block { padding-left: 0; padding-right: 0; } Thanks, but this still leaves some white space around the images. How can I make the images use the whole screen width? - recaprabbithole.com Link to comment
tuanphan Posted May 20, 2020 Share Posted May 20, 2020 Remove above code & use this @media screen and (max-width:767px) { .blog-item-wrapper article.entry { padding-left: 0; padding-right: 0; } .blog-item-wrapper .sqs-layout>.row>.col>div:not(.image-block) { padding-left: 6vw; padding-right: 6vw; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
RecapRabbitHole Posted May 20, 2020 Author Share Posted May 20, 2020 34 minutes ago, tuanphan said: Remove above code & use this @media screen and (max-width:767px) { .blog-item-wrapper article.entry { padding-left: 0; padding-right: 0; } .blog-item-wrapper .sqs-layout>.row>.col>div:not(.image-block) { padding-left: 6vw; padding-right: 6vw; } } Still no luck. It makes the page on the mobile have black space on the right hand-side. Something is wrong with the scale and width. - recaprabbithole.com Link to comment
moeezali Posted May 20, 2020 Share Posted May 20, 2020 Hi, Try this: @media(max-width: 767px) { .blog-item-wrapper article.entry { padding-left: 0; padding-right: 0; } .blog-item-wrapper article.entry .html-block.sqs-block-html { padding-left: 40px; padding-right: 40px; } } Link to comment
RecapRabbitHole Posted May 20, 2020 Author Share Posted May 20, 2020 .blog-item-wrapper article.entry { padding-left: 0; padding-right: 0; } .blog-item-wrapper article.entry .html-block.sqs-block-html { padding-left: 40px; padding-right: 40px; } } No luck. It adds space to the right hand side of the page, such that you can scroll horizontally. See attached screenshot. - recaprabbithole.com Link to comment
tuanphan Posted May 21, 2020 Share Posted May 21, 2020 Can you check url? Above link doesnt exist https://www.recaprabbithole.com/recap/kim-jong-un-mabtx Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
RecapRabbitHole Posted May 21, 2020 Author Share Posted May 21, 2020 10 hours ago, tuanphan said: Can you check url? Above link doesnt exist https://www.recaprabbithole.com/recap/kim-jong-un-mabtx https://www.recaprabbithole.com/recap/dr-anthony-fauci updated - recaprabbithole.com Link to comment
tuanphan Posted May 22, 2020 Share Posted May 22, 2020 I see it works here. Did you insert my code or..? @media screen and (max-width:767px) { /* make image fullwidth */ .blog-item-wrapper article.entry { padding-left: 0; padding-right: 0; } /* make spacing between text blocks - both side */ .blog-item-wrapper .sqs-layout>.row>.col>div:not(.image-block) { padding-left: 6vw; padding-right: 6vw; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
RecapRabbitHole Posted May 23, 2020 Author Share Posted May 23, 2020 I put in your code. Open on mobile you will see the issue. @tuanphan Your code adds a new issue: horizontal scrolling... - recaprabbithole.com Link to comment
tuanphan Posted May 23, 2020 Share Posted May 23, 2020 I see fine here. Which phone did you use? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
RecapRabbitHole Posted May 23, 2020 Author Share Posted May 23, 2020 Horizontal scroll bar... look at this screenshot: Iphone 11 - recaprabbithole.com Link to comment
tuanphan Posted May 23, 2020 Share Posted May 23, 2020 add to Home > Design > Custom CSS html, body {overflow: hidden;} Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.