Jump to content

Changes in form

Recommended Posts

Posted

Site URL: https://emu-chiton-z2ab.squarespace.com/uddannelse

Site: https://emu-chiton-z2ab.squarespace.com/uddannelse
Password: ES24

Hi there.

I hope you can help me out.

I need some css that so that I can change the size of the SEND button in the form of this website I am working on. I need the padding to look like all the other buttons on the page and I can't figure out how to.

Also how can I get the first two fields in the form to be next to each other? So they would be shorter both of them, but next to each other and then the rest as they are now.

I hope it makes sense?

Kind regards
Anja.

Skærmbillede 2024-10-17 kl. 00.31.00.png

  • Replies 1
  • Views 330
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted

#1. You can use this code to Website Tools > Custom CSS

button[type="submit"] {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    padding-left: 50px !important;
    padding-right: 50px !important;
}

#2. You can use this CSS code

@media screen and (min-width:768px) {
  div#block-yui_3_17_2_1_1729112539615_139995 {
    .field-list>.form-item:nth-child(-n+2) {
        width: 45% !important;
        float: left !important;
    }
    .field-list>.form-item:nth-child(3) {
        clear: both;
    }
    .field-list>.form-item:nth-child(1) {
        margin-right: 10% !important;
    }
  }
}

image.thumb.png.1f54e6405b0fe0aefac896a36e02b367.png

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!)

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.