Skip to main content
14 events
when toggle format what by license comment
Oct 15 at 15:42 review Close votes
Oct 20 at 3:04
Oct 15 at 4:06 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Jun 7 at 1:05 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Feb 2 at 13:01 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Oct 28, 2020 at 8:25 answer added 4uk4 timeline score: 0
Oct 27, 2020 at 18:03 comment added No Sssweat In CSS target when it has both classes .btn-primary.btn-outline-primary { background: red };
Oct 27, 2020 at 16:44 comment added 4uk4 @MacSim, you would remove the class only if btn-outline-primary is present.
Oct 27, 2020 at 16:34 comment added MacSim @4k4 Using a hook to remove the class will affect all the buttons, I am not sure he will be able to add an id and target it in the hook to remove the class for that id only
Oct 27, 2020 at 16:11 comment added AndrewRMillar @Hudri, should that then be {{ form.actions.skip.attribute.removeClass('btn-primary') }}? Because that doesn't work The button is gone If I try that..
Oct 27, 2020 at 16:11 comment added 4uk4 I think an important detail you need to know is which code is adding the class btn-primary. Possibly a base theme. Then you could implement your own hook to remove the class again.
Oct 27, 2020 at 16:08 comment added MacSim why don't you just override the text (or background) color in your own css ?
Oct 27, 2020 at 16:08 history edited avpaderno CC BY-SA 4.0
fixed run-on and comma-splice sentences; fixed spelling
Oct 27, 2020 at 16:03 comment added Hudri Maybe something like {{ attribute.removeClass('btn-primary') }} instead?
Oct 27, 2020 at 15:46 history asked AndrewRMillar CC BY-SA 4.0