Jump to content

Change display sequence of blocks on footer and a page only on mobile

Go to solution Solved by tuanphan,

Recommended Posts

Site URL: https://studiolexie.com/

Site URL: studiolexie.com

Hi! I would like to change the sequence of the blocks on my footer and one of my page only on mobile but couldn't get the css codes to work. 

1. Contact page [mobile only]

I would like the "line; email hour....available for worldwide work" to move under the whole contact form.

2. Footer [mobile only]

I would like to move "Sign up for my newsletters" and the form block to be at the very top of the footer instead of the bottom.

 

Could someone guide me with a correct code? Thanks a lot.

Screenshot_20220407-111529_Samsung Internet.jpg

Screenshot_20220407-111607_Samsung Internet.jpg

Link to comment
  • Replies 2
  • Views 172
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • Solution

Hi,

Add to Design > Custom CSS

/* Mobile */
@media screen and (max-width:767px) {
/* Contact */
div#page-section-5fa6e8564f8f02449aad6205 .span-11>.row {
    display: flex;
    flex-direction: column-reverse;
}
/* Footer */
div#page-section-6233b62c62bd83192cafce90 .span-12>.row {
    display: flex;
    flex-direction: column-reverse;
}}

 

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.