Jump to content

Mobile Navigation and Forms : Change order with CSS

Recommended Posts

Hi there community,

I'm stuck on these two issues and none of the CSS codes I tried work: 

1. The navigation bar on the mobile site appears backwards - the first page is last, and vice versa. How can I fix this? 
2. The form alignment is aligning to the left, rather than right. What code would work specifically for this issue?

Thanks for your help. Stay gold. 
 

WhatsApp Image 2024-03-13 at 08.16.12.jpeg

WhatsApp Image 2024-03-13 at 08.16.12 (1).jpeg

Link to comment
  • Replies 2
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Hey tuanphan,

 

Thank you for that, but Ziggy helped me resolve this. I noticed my Google Tags were implemented correctly which cause these codes not to work at first. Now they worked like a charm.

The correct answers are:

Try this Custom CSS:

// Form tweaks
.form-wrapper .react-form-contents .field-list .field, .form-wrapper .react-form-contents .field-list .fields .field, .form-wrapper .react-form-contents .field-list legend {
  text-align: right !important;
}

// Header
.header-menu-nav-wrapper {
  display: inline-flex !important;
  flex-direction: column-reverse !important;
}
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.