I’d like to create a button like Twitter’s home button. It includes a home icon and ‘Home’ as text.
The button element allows me to add text in the appearance, but how can I include an icon with the text?
This might help: https://youtu.be/-4fldTnsvBQ
You can accomplish this by placing the home icon and the word “Home” next to each other. Then, select both items and right click - ‘Group elements’.
Hey @darren4
@telaholcomb has a good suggestion. As an alternative you can try this too.
You can use a text element and then in the text element add:
[fa] fa-home [/fa] Home
This should do what you want, I think. Just in case you don’t have time to watch the 1-Minute cool video.
Hope that helps!
For All Your No-Code Education Needs:
- One-on-One Tutoring
- eLearning Hub
- Video Tutorials
- No-Code Classes
Thanks for sharing.
Of course! Thanks for making the video
Thank you for the video. I tried this, and it does work, but it feels hacky. I worry this will break at some point. I also don’t see how to adjust margin between the icon and the text label with this approach.
Hey @garydarna
Welcome to the Bubble Community!
I uses this mostly when I need the icon to be right next to the right side of the text. Otherwise you can just use an icon and put a text element next to it if the icon is on the left side.
To adjust the margin, just add spaces with the space bar. It should give you more space in between the icon and text.
Hope that helps!
This topic was automatically closed after 70 days. New replies are no longer allowed.