bit more customization
-
Hi guys amazing plugin. Question could you add a font customisation option and how do I change the Donate NOW! text. Possibly in html otherwise.
Could you let people add an image to the pop up window like givewp
many thanks in advance
-
Hi sneakerlove,
Thanks for getting in touch. You can change the “Donate now” text, and how you do so depends on whether you are using the shortcode or the block.
For the block all you need to do is select the text directly in the block editor and type what you want it to say.
For the shortcode you will need to add the
button_labelattribute in order to change what button says. For example:[kudos button_label="My new button!"]At the moment it is not possible to add an image to the donation form, if there is more demand for that feature we can consider adding it later (thanks for the idea!).
-
This reply was modified 4 years, 3 months ago by
Michael Iseard.
Hi thanks a lot. it doesnt seem to work for me to select the text in block editor. maybe you have a tutorial?
however, more important would be to change the Font used in the pop up box so it matches my other fonts style. Is that possible with
Additional CSS class(es)
many thanks!The Kudos block works the same way the official button block works, have a look here for a video on how to change the text:
https://ww.wp.xz.cn/support/article/buttons-block/
Changing the font at the moment isn’t officially supported however it is possible to do using css:
/* Heading text */ [id^="kudos-donations-"] .kd-font-serif { font-family: Georgia, serif !important; } /* All other text */ [id^="kudos-donations-"] * { font-family: Arial, sans-serif !important; }Hope that helps!
thank you, I am afraid the Kudos block doesnt not have the same text editing options as other blocks. Only additional options are strikethrough and highlight. No further text editing options not if placed as block or place as Kudos button but since the ‘element’ is styled/controlled in the plugin it might also be strange to be able to modify its button text in block editor
I doesn’t have all the same options as the official button block, but I only sent that link so you could see how to change the text on the button itself. Am I correct that that is what you are struggling with?
When you place the Kudos button it will already have the default text on it (Donate now). If you click on that text a cursor will appear allowing you to use your keyboard to change it.
so sorry about the long reply time. when editing in block editor it doesn’t become editable when the cursor is on it it shows the active link area, not possible to click on it or get a special cursor. I can mail a screen grab of it.
ad css when I add the short code (where i assume i can write (replace) different font type names, the font turns black instead of white
many thanks in advanceNo problem, please feel free to mail a screenshot to me at [email protected].
it does seem to be related to my theme so i will have to use the short code instead thank you
Hi sneakerlove,
Just to let you know, I sent you a couple emails over the last couple weeks and some of them bounced back so not sure if you are getting them. If you email me an alternative address then we can take things from there.
Mike
-
This reply was modified 4 years, 3 months ago by
The topic ‘bit more customization’ is closed to new replies.