Jump to content

Aligning form fields and check boxes side-by-side

Go to solution Solved by tuanphan,

Recommended Posts

There are errors in the site.css file.

241152992_ScreenShot2021-05-15at6_10_35PM.png.33a81f2328af8a4e1ef620f2e3bd4a78.png

I don't know what the cause is. The first thing you can try is remove all your custom CSS. Make a copy somewhere so you can restore.

If that gets rid of the problem then you know there are one ore more errors in your CSS that you will need to fix.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
  • 4 months later...
19 hours ago, Chlobot said:

I have a question on this topic. I've tried using the css mentioned for my situation but can't get it to work. I would like the first two multiple choice questions to be side by side. Thanks for you help! @tuanphan

Website: https://wisteria-semicircle-yap8.squarespace.com/contact

PW: NutmegState

 

1543525751_ScreenShot2021-10-12at5_51_43PM.thumb.png.1d4c95da9c1538619eb1bd33f5da3d4b.png

Add to Design > Custom CSS

/* Contact form side by side */
@media screen and (min-width:768px) {
div#block-yui_3_17_2_1_1633693765638_48669 fieldset:nth-child(3), div#block-yui_3_17_2_1_1633693765638_48669 fieldset:nth-child(4) {
    width: 50% !important;
    float: left !important;
}

div#block-yui_3_17_2_1_1633693765638_48669 fieldset:nth-child(5) {
    clear: left;
}
}

 

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.