I was wondering if anybody could help me customizing the ‘‘submit’’ button of my form.
On my website, I will display all buttons via custom code. However, I cannot manage to edit the sumbit button in the same way. ( I believe because the sumbit button has no span?)
If you have more expierence with code, I would greatly appriciate it if you could provide some thoughts/help.
Try placing the anchor text in the span. <a class="btn-6-orange" href="#">Send<span></span></a>
like this <a class="btn-6-orange" href="#"><span>Send</span></a>
Ah, i think you mean adjusting the CSS in the custom embed editor. I tried to put the text within the span, but the submit button still won’t display the background hover animation effect. (it does change text-color, like previously)
If you need the empty span in the anchor you could just add that with jQuery. You can’t add it to a submit form button any way else. If you were hosting externally you would need to come up with a third party form so you would just edit the submit button as needed.
On webflow hosting, you could use this jQuery <script>$("<span></span>").appendTo(".btn-6-orange ");</script> to append the span to any element with the class of “btn-6-orange”. This code would have to be placed in the page or site “before body close” custom code area.
If you are going to try to style elements on the page with custom code, place that CSS in the " Inside Head" custom code area.