Forums

Assign a class to the submit button

Con20 08 Dec, 2024

Good morning, everyone,

I am trying to figure out how to assign one or more classes present in my template to the Submit button.

I work on Joomla 5 with Yootheme

The button generates me these classes by default:

<button class=“nui button colored slate” name=“submit” value="” id=“submit” type=“submit” >

If I enter in the HTML Attributes settings with this code:

class=el-content uk-width-1-1 uk-button uk-button-secondary uk-button-large

I get is this:<button class=“nui button colored slate el-content uk-width-1-1 uk-button uk-button-secondary uk-button-large&quot;” name=“submit” value="” id=“submit” type=“submit” >

How can I apply only my classes?

Thanks

Marco

Max_admin 08 Dec, 2024
Answer

Hi Marco

You can not apply your classes only, if you want that then just use an HTML view and paste the button code

Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
You need to login to be able to post a reply.