Diferent button class in registration form

  • Matj
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
7 years 2 months ago #94011 by Matj
This can be solved with override, but its better to fix it in core.
On registration form, there is button "cancel" and "submit". Both have same class btn btn-primary. Cancel button should be less obvious and diferent color, background...
So just give cancel button some other class. If looking Bootstrap 3, btn btn-default for cancel and btn btn-primary for submit.

Please Log in or Create an account to join the conversation.

More
7 years 2 months ago #94012 by James Riley
Replied by James Riley on topic Diferent button class in registration form
You could also do it with CSS (using the first-child or nth-child pseudo classes), but changing this at a core code level does seem to make more sense.
At risk of adding EVEN MORE depth and complexity to the config panel, fields could be added for button classing. I've assisted other users in restyling their buttons to match their site's styles when their templates don't make use of the standard btn classes. Being able to just enter a new class designation in config would be easier for non-standard templates AND for adjusting and tweaking individual buttons to suit other user needs.

James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc