Hi all, I’m trying to allow for my users to change the header and sub header fonts of their form, but I can’t add dynamic data into the condition.
Any tips on how to achieve this please?
Hi all, I’m trying to allow for my users to change the header and sub header fonts of their form, but I can’t add dynamic data into the condition.
Any tips on how to achieve this please?
You need to create a datatype in the database and store the relevant information i.e. font size, background color, style etc and link the user table. Now on the property editor — appearance tab — get the data dynamically.
This way you can let the user choose styling and store it in the database.
Thank you @Nobi
How do I get the data dynamically please? I can’t see where to add the dynamic data to the appearance settings
Hi @LA81638 !
You can do it using CSS.
Then place you dynamic font-family there.
@rpetribu perfect, thank you so much!
@rpetribu do you know if it only allow for a few google fonts? I’m trying to use some of the handwriting ones but it doesn’t seem to work.
Thanks in advance
Sure!
You can upload your .ttf file anywhere then import it to Bubble using the same HTML file using this code:
@font-face {
font-family: FONT_NAME_HERE;
src: url(FONT_URL_HERE);
}
I updated my editor so you can take a better look.
Really appreciate all your help
This topic was automatically closed after 70 days. New replies are no longer allowed.