Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
RecapRabbitHole

How to add gallery blocks to this CSS - stretch across screen

Question

Posted (edited)

Site URL: https://www.recaprabbithole.com/recap/human-viruses

MOBILE ONLY:

 

This code from @tuanphan is excellent, but it only targets image blocks:

 

/* 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;
}

 

Page Link

I want to make gallery blocks stretch full screen too. See screenshot, I want to make this gallery block also fullscreen like the image above:

 

 

Edited by RecapRabbitHole

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 1
/* 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):not(.gallery-block) {
    padding-left: 8vw;
    padding-right: 8vw;
}
html, body {
  overflow: hidden;
}

 


You can send your question to my email to get faster answer.

How to Setup Password & Share URL - Free Templates - Free Code - CSS ID List

OFF Forum from 05 - 09/06/2020, back to hometown

Share this post


Link to post
  • 0
12 hours ago, tuanphan said:

/* 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):not(.gallery-block) {
    padding-left: 8vw;
    padding-right: 8vw;
}
html, body {
  overflow: hidden;
}

 

Thank you! Worked perfectly!

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...