x

How do I edit the contact form CSS

So, I tried using one of the standard Weebly themes "Birdseye" and I tried to create an opt-in form I was using a purple background for the home page but the lines on the form option is black. Normally in the past you can go to edit html/css to fix this . I tried going there and I didn't find any css I could edit. So, how can I edit my form without having to use one from the app center? Thanks guys.

8,420 Views
Message 1 of 13
Report Inappropriate Content
1 Best Answer

Best Answer

The CSS is now in the main.less file, though there are certain values that are defined in the variables_v(#).less files so you may have to also go there to change what you want.

View Best Answer >

8,362 Views
Message 4 of 13
Report Inappropriate Content
12 REPLIES 12

Hello Uzo! You should still be able to edit your code in the Theme menu, near the bottom.

8,388 Views
Message 2 of 13
Report Inappropriate Content

Queso, thanks but no thanks. I am not sure if you miss where I said I went to the "Edit HTML/CSS and had no luck. The "Edit Html/Css" is under the Theme menu at the bottom left. Please, do read carefully next time so you can provide a helpful answer to people. Thanks. Anyone else know it it's possible to fix and how?

8,379 Views
Message 3 of 13
Report Inappropriate Content

Best Answer

The CSS is now in the main.less file, though there are certain values that are defined in the variables_v(#).less files so you may have to also go there to change what you want.

8,363 Views
Message 4 of 13
Report Inappropriate Content

Sorry, for the really late response but I felt I had to respond since you took the time out to help me. Yes, your recommendation worked and I was able to make the needed changes. Thank you so much.

8,252 Views
Message 5 of 13
Report Inappropriate Content

I am also trying to edit the contact form CSS, but I can't find the main.less files or the variables_v(#).less files. Is this under "partials"? Or "assets"? Somebody hep' me?

Here is the URL for my page with the contact form.

http://www.hilcandoit.com/contact-me.html

7,936 Views
Message 6 of 13
Report Inappropriate Content
Square

There might be some CSS bits that are not in there because they're included in global CSS. You should be able to add your own rules to override those, though.

7,934 Views
Message 7 of 13
Report Inappropriate Content

Thanks for the reply. I can't say I understand your reply, but I will read the documentation and see if I can get enlightened.

7,930 Views
Message 8 of 13
Report Inappropriate Content

Things have moved around in Weebly lately.

As of August 2017, open the HTML/CSS Code Editor in Themes.

Look under "Styles" for _ui-kit.less

You will see a section that starts .wsite-form-input.

Here you can change the background color, border color, etc.

Tip: Try disabling sections of the code using "/*" before and "*/" after to see what it does before making permanent changes. You will have to save these changes before you see them.

7,086 Views
Message 11 of 13
Report Inappropriate Content

YEs! Thank you this is what worked for me!

4,612 Views
Message 11 of 13
Report Inappropriate Content

Is there anyone here using Contact Form plugin? I have a similar problem, but I use this widget https://www.weebly.com/app-center/contact-form1 - How do I change some of the styles? I guess, I need to add styles to the main css file, and get the style classes from the page (from the plugin) – is that right? Thank you for help in advance!

2,834 Views
Message 14 of 13
Report Inappropriate Content
Square

Have you tried contacting the app developer for that, @Deminosto? They might be able to provide some help or even build that as an option into the app.

http://elfsight.com

2,113 Views
Message 14 of 13
Report Inappropriate Content

You can change the styles and layout of any form directly (and infinitely) by embedding html using the Embed Code capability in Weebly.

Here's an article explaining how to do that including sample code and detailed instructions.

https://blog.formkeep.com/how-you-can-do-more-with-weebly-forms/

In addition to contolling the layout, with an embedded html solution you can also potentially take advantage of advance routing capabilities for your data.

1,932 Views
Message 14 of 13
Report Inappropriate Content
This thread has been archived and locked. Please start a new thread if you would like to continue the conversation.