Jump to content

How do I prevent Font Awesome icons from stacking on mobile

Go to solution Solved by Beyondspace,

Recommended Posts

  • Solution
5 hours ago, sarhzt said:

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

Hi there,

I have font awesome icons added with code blocks on my site. You can see on the homepage there is text "View Case Studies" with a font awesome icon arrow next to it.

On mobile, the font awesome icon stacks beneath the text. Is there a way to make it so that they appear next to each other like on desktop?

Thanks,

Try this

@media only screen and (max-width: 600px) {
      section[data-section-id="600f160f41a001013cdb30dc"] .col {
        width: 50% !important;
        float: left !important;
      }
}

image.thumb.png.f4e343031e8928067995913a979efbd3.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. 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.