Jump to content

Tablet version like mobile version for entire site

Recommended Posts

  • Replies 4
  • Views 422
  • Created
  • Last Reply
Posted
18 hours ago, CamillaAAA said:

Site URL: https://www.andersbundgaard.dk/

Hey! Is it possible to change the settings, so the tablet version of my site appears just like mobile version for all pages? 

Site: https://www.andersbundgaard.dk/

Thanks! 

Try adding this to Design > Custom CSS

@media screen and (max-width:900px) {
[class*=sqs-col] {
    width: 100% !important;
}
}

 

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!)

Posted
47 minutes ago, tuanphan said:

Try adding this to Design > Custom CSS

@media screen and (max-width:900px) {
[class*=sqs-col] {
    width: 100% !important;
}
}

 

You are the best, thank you @tuanphan!

Another issue came up with this change. Is it possible to remove the extra space, that turns up on the tablet version now between the video and the headline? (I have attached a screenshot). I had the same issue on mobile and used the following code to remove spacing on mobile. But it doesn't seem to work on the tablet version - I tried changing the max-width to 900px. 

/* Remove spacer block mobile */
@media screen and (max-width:1000px) {
.space-block {
    display: none !important;
}
}

 

Skærmbillede 2021-11-30 kl. 10.25.17.png

Posted
On 11/30/2021 at 4:29 PM, CamillaAAA said:

You are the best, thank you @tuanphan!

Another issue came up with this change. Is it possible to remove the extra space, that turns up on the tablet version now between the video and the headline? (I have attached a screenshot). I had the same issue on mobile and used the following code to remove spacing on mobile. But it doesn't seem to work on the tablet version - I tried changing the max-width to 900px. 

/* Remove spacer block mobile */
@media screen and (max-width:1000px) {
.space-block {
    display: none !important;
}
}

 

Skærmbillede 2021-11-30 kl. 10.25.17.png

Your code missing a "r" character, the code should be

@media screen and (max-width:900px) {
[class*=sqs-col] {
    width: 100% !important;
}
.spacer-block {
	display: none !important;
}
}

 

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!)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.