Jump to content

How to make mobile footer more condensed instead of vertically stacked

Recommended Posts

Site URL: https://www.onespaceatatime.ca

Hello, 

I am trying to find some css to improve the look of my footer on mobile view. Currently, there are two text blocks and two image blocks and they are all stacking vertically but I want to adjust them so that they are smaller and go across. There is probably too much to be in one row, but even condensing it to two rows would be better. Thanks for any help!

Screenshot 2022-06-16 11.05.02.png

Link to comment
  • Replies 8
  • Views 319
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

9 hours ago, onespaceatatime said:

osaatpo2129

Add to Design > Custom CSS

@media screen and (max-width:767px) {
div#page-section-6290ff0a2ea0e76d6e7c4dde .span-2 {
    width: 50% !important;
    float: left !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
8 hours ago, tuanphan said:

Add to Design > Custom CSS

@media screen and (max-width:767px) {
div#page-section-6290ff0a2ea0e76d6e7c4dde .span-2 {
    width: 50% !important;
    float: left !important;
}
}

 

TuanPhan, this worked great for the images as you can see in the file. Thank you.  Is there a way to bring the hours section up beside the contact info section in the footer as well?

Screenshot 2022-06-17 06.21.15.png

Link to comment
20 minutes ago, onespaceatatime said:

TuanPhan, this worked great for the images as you can see in the file. Thank you.  Is there a way to bring the hours section up beside the contact info section in the footer as well?

Screenshot 2022-06-17 06.21.15.png

Use this new code

@media screen and (max-width:767px) {
div#page-section-6290ff0a2ea0e76d6e7c4dde {
.span-2 {
    width: 50% !important;
    float: left !important;
}
.span-3 {
    width: 50% !important;
    float: left !important;
}
.span-2:nth-child(3) {
    clear: left;
}
h4 {
    white-space: nowrap !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
1 hour ago, tuanphan said:

Use this new code

@media screen and (max-width:767px) {
div#page-section-6290ff0a2ea0e76d6e7c4dde {
.span-2 {
    width: 50% !important;
    float: left !important;
}
.span-3 {
    width: 50% !important;
    float: left !important;
}
.span-2:nth-child(3) {
    clear: left;
}
h4 {
    white-space: nowrap !important;
}}
}

 

It is soooo close. On my phone there is a tiny gap between the end of the website and the hours section, but as you can see in the screenshot, in mobile view there is not sufficient gap between the two. I imagine that means that on some phones this is what it will look like. Is there a way to correct this?

Thanks!

Screenshot 2022-06-17 07.56.35.png

Link to comment
11 hours ago, onespaceatatime said:

It is soooo close. On my phone there is a tiny gap between the end of the website and the hours section, but as you can see in the screenshot, in mobile view there is not sufficient gap between the two. I imagine that means that on some phones this is what it will look like. Is there a way to correct this?

Thanks!

Screenshot 2022-06-17 07.56.35.png

Try this new code

@media screen and (max-width:767px) {
div#page-section-6290ff0a2ea0e76d6e7c4dde {
.span-2 {
    width: 50% !important;
    float: left !important;
}
.span-3 {
    width: 50% !important;
    float: left !important;
}
.span-2:nth-child(3) {
    clear: left;
}
h4 {
    white-space: nowrap !important;
}}
footer.sections section {
    min-height: unset !important;
}
footer.sections .content-wrapper {
    padding-bottom: 0px !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
11 hours ago, tuanphan said:

Try this new code

@media screen and (max-width:767px) {
div#page-section-6290ff0a2ea0e76d6e7c4dde {
.span-2 {
    width: 50% !important;
    float: left !important;
}
.span-3 {
    width: 50% !important;
    float: left !important;
}
.span-2:nth-child(3) {
    clear: left;
}
h4 {
    white-space: nowrap !important;
}}
footer.sections section {
    min-height: unset !important;
}
footer.sections .content-wrapper {
    padding-bottom: 0px !important;
}
}

 

That did not change anything. 

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.