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
  • Replies 3
  • Views 1.3k
  • Created
  • Last Reply
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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Archived

This topic is now archived and is closed to further replies.

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