Jump to content

Changing order of blocks in mobile view

Recommended Posts

Site URL: https://www.kindenterprises.co/financial-wellbeing

I'm running into trouble with the mobile version of my banner image. There's a few issues:

  1. The text blocks saying 'in partnership with' and 'brought to you by' are reordering weirdly, and the logos have stacked in the opposite direction. Is there an easy work around for this? Ideally it would be great to have them side by side as in the desktop version.
    1. Screenshot_20220722-083920_Chrome.thumb.jpg.770c81701ca1357c2d1fdd8493750779.jpg
  2. When on squarespace mobile edit view, the h2 header text 'A new kind of Retirement and Financial Wellbeing Conference' is showing that it has successfully resized, however on my actual mobile phone, the font is huge and a generic font family. I can't work out why there is this discrepancy?
    1. Screenshot_20220722-083930_Chrome.thumb.jpg.1675a494bebcac2b3f6f60cc112cc036.jpg
    2. 2137211225_ScreenShot2022-07-22at8_45_31am.thumb.png.ffd0db4609204edd6b4062b3f15a49a3.png

 

Would appreciate any help with these! Thank you 🙂

Link to comment
  • Replies 6
  • Views 520
  • Created
  • Last Reply

Top Posters In This Topic

#1. You need to adjust layout a bit.

Try dragging Image Block 1 under Text Block 1 so that it appears a black line, width of line = width of  text block.
Do similar for Image 2, Text 2 then check again on mobile.

#2. Try adding this to Design > Custom CSS

@media screen and (max-width:767px) {
#block-f9b2b9bfd773c6d0af80 h2 {
    font-size: 1.5em !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!)

Link to comment

@tuanphan thank you for your guidance.

Unfortunately, my client wants the logos to be horizontal (side by side), at least on the desktop version. 

The code you provided is not doing anything to the header text either - is there anything else that can be done?

Thanks in advance!

Link to comment

@tuanphan UPDATE: I have managed to fix the logo issue.
 

BUT, I am still having problems with the h2 heading text. On mobile editor view the CSS code is showing it works, however on my actual mobile browser (www.kindenterprises.co/financial-wellbeing) the h2 text is still huge.

I am at a loss as to why this might be different?!

Screen Shot 2022-07-24 at 4.32.19 pm.png

Link to comment
On 7/22/2022 at 5:50 PM, tuanphan said:

#1. You need to adjust layout a bit.

Try dragging Image Block 1 under Text Block 1 so that it appears a black line, width of line = width of  text block.
Do similar for Image 2, Text 2 then check again on mobile.

#2. Try adding this to Design > Custom CSS

@media screen and (max-width:767px) {
#block-f9b2b9bfd773c6d0af80 h2 {
    font-size: 1.5em !important;
}
}

 

Try add code to Top or Bottom of Custom CSS box. If it still doesn't work, keep the code in Custom CSS, then 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
20 hours ago, tuanphan said:

Try add code to Top or Bottom of Custom CSS box. If it still doesn't work, keep the code in Custom CSS, then we can check easier

@tuanphan I just added it to the bottom of the Custom CSS section, and when tweaking the font size here it is working fine and resizing the header text in the mobile view of the site editor.

It is still not being applied to the actual mobile browser though - text is as big as desktop size.

Link to comment
On 7/27/2022 at 1:04 PM, sa51 said:

@tuanphan I just added it to the bottom of the Custom CSS section, and when tweaking the font size here it is working fine and resizing the header text in the mobile view of the site editor.

It is still not being applied to the actual mobile browser though - text is as big as desktop size.

ah, it looks like some code override it. Try this new code

@media screen and (max-width:767px) {
div#page-section-62be56962aa6181acf3cc42d #block-f9b2b9bfd773c6d0af80 h2 {
    font-size: 1.5em !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!)

Link to comment

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.