Jump to content

Disable mobile view completely

Recommended Posts

Site URL: https://www.maxwellflick.com

Hi,

For the most part I have been able to add squarespace custom css to give my site the look I want but I am completely stumped on this mobile view issue.

I want to have the content on mobile view look exactly like the content on the desktop version.

On the page https://www.maxwellflick.com/portraits the desktop view is perfect but switching over to mobile view it throws away the space blocks and jumbles together the images and text to display in a single column. Is there a code that exists to disable the mobile view and tablet view completely so that every format has exactly the same spacing? Essentially always forcing the desktop version to show?

I see a lot of posts from last year where there was apparently an option to change the mobile breakpoint to 0px but I don't have that option in my style editor.

site is private: flick2020

 

Thanks!

 

Edited by mflick
Link to comment

I am using York template which unfortunately does not have this option. I might just have to photoshop images and text together so they don't adjust in mobile. Very icky but it seems like the only option besides leaving squarespace altogether.

Hard to believe you can't make two or three images display side by side and retain sizes and spaces between them. If only it were that simple.

Link to comment
On 5/27/2020 at 6:08 AM, mflick said:

@tuanphan Any ideas on how to make all .sqs-block-image appear two side by side on mobile instead of stacked?

Depending. Can you share link to all pages you want side by side image block?

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
  • 2 months later...
  • 2 months later...

I used to solve a few cases where using CSS to resize certain elements width. However if you want this on entire site, it will be very time consuming.

If you only need it for header, footer or some other element, we can give the code

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
  • 1 month later...

I have a similar question: How can I put blocks side by side on mobile only?

The one page on my site I would like to do this is on my "Projects" page. And would like this effect on mobile and ipad (i.e. two columns on mobile. I attached screenshot of what I'd like it to look like and included blocks so you can see its many blocks together.) Now on mobile it appears as one gigantic image and the text stacked. And I do not want to use the gallery blocks to achieve this because of their style. I'm happy with the site on desktop. 

I have about 30 blocks to organize on this "Projects" page but I am familiar enough with a bit of css / html that if someone can help me get started with just the code for 4 blocks (2 images, 2 text), I'm sure I can manage the rest. 

Better yet, I'd like to disable mobile view altogether (using Wells on 7.0).
Is it really not possible?  😭

Thanks very much for your help. 

 

 

 

Screen Shot 2020-12-18 at 8.16.16 AM.png

Edited by mddiatta
update screenshot
Link to comment
On 12/18/2020 at 8:03 PM, mddiatta said:

I have a similar question: How can I put blocks side by side on mobile only?

The one page on my site I would like to do this is on my "Projects" page. And would like this effect on mobile and ipad (i.e. two columns on mobile. I attached screenshot of what I'd like it to look like and included blocks so you can see its many blocks together.) Now on mobile it appears as one gigantic image and the text stacked. And I do not want to use the gallery blocks to achieve this because of their style. I'm happy with the site on desktop. 

I have about 30 blocks to organize on this "Projects" page but I am familiar enough with a bit of css / html that if someone can help me get started with just the code for 4 blocks (2 images, 2 text), I'm sure I can manage the rest. 

Better yet, I'd like to disable mobile view altogether (using Wells on 7.0).
Is it really not possible?  😭

Thanks very much for your help. 

 

 

 

Screen Shot 2020-12-18 at 8.16.16 AM.png

Add to Home > Design > Custom CSS

@media screen and (max-width:640px) {
div#block-yui_3_17_2_1_1606665871851_4586+.row>.span-2, div#block-yui_3_17_2_1_1606665871851_4586~.row>.span-2 {
    width: 50% !important;
    float: left !important;
}
div#block-yui_3_17_2_1_1606665871851_4586+.row>.span-2:nth-child(2n+1), div#block-yui_3_17_2_1_1606665871851_4586~.row>.span-2:nth-child(2n+1) {
    clear: left;
}
}

 

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
On 12/21/2020 at 8:14 PM, tuanphan said:

Add to Home > Design > Custom CSS


@media screen and (max-width:640px) {
div#block-yui_3_17_2_1_1606665871851_4586+.row>.span-2, div#block-yui_3_17_2_1_1606665871851_4586~.row>.span-2 {
    width: 50% !important;
    float: left !important;
}
div#block-yui_3_17_2_1_1606665871851_4586+.row>.span-2:nth-child(2n+1), div#block-yui_3_17_2_1_1606665871851_4586~.row>.span-2:nth-child(2n+1) {
    clear: left;
}
}

 

@tuanphan thank you so much, you're a star. Unfortunately it's not working. I tried changing the blocks in the code but no luck.

 

best, myriam

Link to comment
  • 2 weeks later...
On 12/26/2020 at 9:14 AM, mddiatta said:

@tuanphan thank you so much, you're a star. Unfortunately it's not working. I tried changing the blocks in the code but no luck.

 

best, myriam

Have you added code yet? I see it works here.

image.thumb.png.6b76e874bd32dd01f433e30b172158de.png

 

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
  • 3 weeks later...
On 1/24/2021 at 11:24 AM, mddiatta said:

@tuanphan

happy new year 🙂

Yes! actually, it does work, not sure why I wasn't able to see it / make it work earlier. 

I do have a problem where just two blocks (four if you count the text blocks) aren't sitting side by side. I've screenshotted them here. 

 

Screen Shot 2021-01-24 at 1.20.53 PM.png

Screen Shot 2021-01-24 at 1.20.45 PM.png

Hi. Sorry for the delay. I was off some day.


Do you still need help on this?

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
On 01/02/2021 at 3:17 AM, tuanphan said:

Hi. Sorry for the delay. I was off some day.


Do you still need help on this?

HI, I got the same need about this and I got zero knowledge about CSS. I just grab code but I can't make it on my own. A small tutorial would be greatly appreciated... Thanks in advance 🙏 

Link to comment
On 2/2/2021 at 9:03 AM, mddiatta said:

Thank you so much.

I do, I wasn't able to work it out myself. Could you please help me with this? 

The url doesn't exist. https://www.maxwellflick.com/portraits

On 2/4/2021 at 5:12 AM, 3dmdesign said:

HI, I got the same need about this and I got zero knowledge about CSS. I just grab code but I can't make it on my own. A small tutorial would be greatly appreciated... Thanks in advance 🙏 

Can you share link to page where you have problem?

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
  • 6 months later...

@tuanphan it looks like you are our helper 🙂

So I would like to remove from SERVICES page on a mobile version the block with the icons just bellow the header on my site https://pepper-plantain-fyd2.squarespace.com/config/ 

I tried with the custom code putting the 0% 

@media screen and (max-width: 640px) {.sqs-block-image{width:0%}}

but it does not work. 

Can you please help me.

Thank you

Link to comment
On 8/17/2021 at 4:14 AM, 2sillysocks said:

@tuanphan it looks like you are our helper 🙂

So I would like to remove from SERVICES page on a mobile version the block with the icons just bellow the header on my site https://pepper-plantain-fyd2.squarespace.com/config/ 

I tried with the custom code putting the 0% 

@media screen and (max-width: 640px) {.sqs-block-image{width:0%}}

but it does not work. 

Can you please help me.

Thank you

Hii. Your site is private. Can you setup password & Share url again? We can check easier

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
  • 6 months later...

Dear @tuanphan

I'm back to have a little of your help again if you're available. 

I'm working on the same site as in this thread: http://www.myriamdiatta.com/projects

In the grid of images and text on this page, I moved "thinking form" (top left) to the position it is now, and on mobile things have gotten skewed. On mobile I want the content to be a column of two. I did my best to read through the css you originally made for me, but i couldn't seem to work out what was this issue. 

Right now it looks like this: 

IMG_1741.thumb.PNG.e4f392accc16913601cf4682f891836a.PNGIMG_1743.thumb.PNG.a1b5c49fcbf25d1608b229fcbb1f15b8.PNG

IMG_1742.thumb.PNG.b79fbdd4ba3948d8746a6ecfdd62d070.PNG

 

Here is the current code you made for me: 

/*TWO COLUMNS ON MOBILE VIEW PROJECTS PAGE*/////////

@media screen and (max-width:640px) {
div#block-yui_3_17_2_1_1606665871851_4586+.row>.span-2, div#block-yui_3_17_2_1_1606665871851_4586~.row>.span-2 {
    width: 50% !important;
    float: left !important;
}
div#block-yui_3_17_2_1_1606665871851_4586+.row>.span-2:nth-child(2n+1), div#block-yui_3_17_2_1_1606665871851_4586~.row>.span-2:nth-child(2n+1) {
    clear: left;
}
}
/* mobile 2 columns */
/* mobile 2 columns */
@media screen and (max-width:767px) {
div#page-5fc3c4c85147b14804a5f567 .span-8 .span-4 .span-2 {
    width: 50% !important;
    float: left !important;
}
  div#page-5fc3c4c85147b14804a5f567 .span-8 .span-4 .span-2:nth-child(2n+1) {
clear: left !important;
}  
}
 

Link to comment
On 3/2/2022 at 9:34 PM, mddiatta said:

Dear @tuanphan

I'm back to have a little of your help again if you're available. 

I'm working on the same site as in this thread: http://www.myriamdiatta.com/projects

In the grid of images and text on this page, I moved "thinking form" (top left) to the position it is now, and on mobile things have gotten skewed. On mobile I want the content to be a column of two. I did my best to read through the css you originally made for me, but i couldn't seem to work out what was this issue. 

Right now it looks like this: 

IMG_1741.thumb.PNG.e4f392accc16913601cf4682f891836a.PNGIMG_1743.thumb.PNG.a1b5c49fcbf25d1608b229fcbb1f15b8.PNG

IMG_1742.thumb.PNG.b79fbdd4ba3948d8746a6ecfdd62d070.PNG

 

Here is the current code you made for me: 

/*TWO COLUMNS ON MOBILE VIEW PROJECTS PAGE*/////////

@media screen and (max-width:640px) {
div#block-yui_3_17_2_1_1606665871851_4586+.row>.span-2, div#block-yui_3_17_2_1_1606665871851_4586~.row>.span-2 {
    width: 50% !important;
    float: left !important;
}
div#block-yui_3_17_2_1_1606665871851_4586+.row>.span-2:nth-child(2n+1), div#block-yui_3_17_2_1_1606665871851_4586~.row>.span-2:nth-child(2n+1) {
    clear: left;
}
}
/* mobile 2 columns */
/* mobile 2 columns */
@media screen and (max-width:767px) {
div#page-5fc3c4c85147b14804a5f567 .span-8 .span-4 .span-2 {
    width: 50% !important;
    float: left !important;
}
  div#page-5fc3c4c85147b14804a5f567 .span-8 .span-4 .span-2:nth-child(2n+1) {
clear: left !important;
}  
}
 

Hi,

Remove your code, it has some missing. Then let me know. I will check it again.

This week is a bit of a toothache, so reply is a bit slow.

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
  • 4 months later...

Create an account or sign in to comment

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

×
×
  • 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.