Jump to content

How to center text on mobile only

Recommended Posts

1 hour ago, annicatter16 said:

Site URL: https://chimes-seadragon-7xb2.squarespace.com/

Hi i'm wanting to center these two texts on mobile only please

Any help is greatly appreciated.

Also is there a way to remove these arrows as there are only 3 options so no need to scroll.

https://chimes-seadragon-7xb2.squarespace.com/

pass: 12345

thanks

Screen Shot 2022-08-05 at 9.48.44 am.png

Screen Shot 2022-08-05 at 9.48.31 am.png

Screen Shot 2022-08-05 at 9.48.17 am.png

Try adding to Home > Design > Custom Css to hide the arrow for mobile

@media only screen and (max-width: 767px) {
  section[data-section-id="62e30dddfd9ed73756fe085b"] .mobile-arrows {
    display: none;
  }
}

Which text blocks do you want to set center, i check that they are fine at the moment

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 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
On 8/7/2022 at 2:07 PM, annicatter16 said:

hi this seemed to remove the arrows for articles carousel also?

Try this new code

/* Mobile-home-hide arrows */
.user-items-list-item-container[data-section-id="62e30dddfd9ed73756fe085b"] .mobile-arrows {
    display: none;
}

 

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.