nican VIP
Total posts: 392
11 May 2017 13:26

Hello, I wanted to change the payment type buttons width but I noticed that "width:210px" is applied directly t the element in the template layout.

It would be betetre to have it added via a css class. Anyway, I tried to override that style using

form#formsubscr button[style] {
   width:250px;
}

but it doesn't work... maybe [style] just don't work for "button" elements, any suggestion on how to do it?

https://accademiainfinita.it/iscrizioni?view=empayment& ;sid=8

Thank you!

see screenshot: emerald_payment_gateways_buttons

Last Modified: 15 May 2017


nican VIP
Total posts: 392
11 May 2017 14:10

Solved!Just needed to add !important

form#formsubscr button[style] {
   width:300px !important;
}

pepperstreet VIP
Total posts: 3,837
11 May 2017 23:37

Hello nican, you nailed it and you were faster with your own comment ;)
Unfortunately, in this case, you have to deal with an inline-style.
Here is a related topic and my answer (almost identical).


nican VIP
Total posts: 392
15 May 2017 13:16

Thanks!

Powered by Cobalt