Forum Replies Created
-
AuthorPosts
-
Ok could you help me a little bit with my code?
I just can’t find the right CSS in these hundreds of lines of code… heres mine:.klick-tipp input[type='text'] { border-color: #ebebeb; background-color: #f8f8f8; color: #919191; width: 100%; margin-bottom: 0; display: inline; min-width: 50px; padding: 13px !important; border-radius: 2px; border-bottom-width: 1px; border-bottom-style: solid; font-weight: normal; font-size: 0.92em; min-width: 142px; outline: none; } .klick-tipp input[type='submit'] { background-color: #000000; color: #ffffff; border-color: #000000; margin: 0; padding: 16px 20px; border-radius: 2px; border-bottom-width: 1px; border-bottom-style: solid; font-weight: normal; font-size: 0.92em; min-width: 142px; outline: none; } .klick-tipp input[type='submit']:hover { background-color: #9cc3df; color: #ffffff; border-color: #7aa1bd; } .klick-tipp .first_form { clear: both; margin-left: 0; } .klick-tipp .form_element_third { width: 32.6%; float: left; }
Looks like this:
I put “avia_ajax_form” into the code right here <form class=”avia_ajax_form av-form-labels-hidden” id=”ktv2-f… so that the element looks like the form element from the avia builder.
Like this:
BUT THEN THE FORM DOESN’T WORK because it’s doing some wired ajax thing and not sending the form!
If I remove the styling it works but looks like this:
So, if I can’t use the avia class, whats the CSS code to theme my elements like the avia form.
I haven’t found it in the enfold theme files yet…There’s no other script involved, other than the code above.
As I said, I need to add the class avia_ajax_form for the form to look like the one from enfold.
I think there’s some code in the enfold theme that targets this class that is needed for the styling and prefents the default “onsubmit” event.So what I need is a way to restore the default onsubmit event from HTML.
– OR –
Another way to style the form like the default enfold-avia-form-thing…
Would be nice to implement more than just one provider ;)
It had no effect…
But if i remove the class avia_ajax_form from the form, it looks horrible and works – is there any other class to theme it like that without breaking the form?Had to add !important as well, but that fixed it! Thank you!
-
AuthorPosts