Jump to content

Custom CSS for mobile footer

Recommended Posts

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

Hi, on my responsive website, I have 2 blocks laid out side by side so that on desktop and tablet they are on the same row (see attached). However, on mobile the 2 blocks stack on top of each other which causes an odd layout because of the alignments of each. Is there any way to keep the social media buttons and the resume button on the same line on mobile?

Screen Shot 2021-05-24 at 10.14.26 AM.png

Screen Shot 2021-05-24 at 10.14.36 AM.png

Link to comment
On 5/24/2021 at 10:17 PM, mpruim said:

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

Hi, on my responsive website, I have 2 blocks laid out side by side so that on desktop and tablet they are on the same row (see attached). However, on mobile the 2 blocks stack on top of each other which causes an odd layout because of the alignments of each. Is there any way to keep the social media buttons and the resume button on the same line on mobile?

Hi. Add to Design > Custom CSS

/* Mobile-icons button side by side */
@media screen and (max-width:767px) {
div#block-yui_3_17_2_1_1569956277536_14900+.row .span-6 {
    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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.