Create bloc/brick with text on top of the background image


#1

I know this must be easy to do but what I have only been able to is add text to an image outside of the image, ie top, bottom, right or left, but I would like to add some text on top of an image. How is this done?


#2

My first idea is to use a div and add a custom class. There you can add the image as background image and set width and heigh of the div. In the div you then can place the Text or any other element.


#3

Thanks, the div did the trickā€¦


#4

Someone has shared that tooltip somewhere. Maybe @Eldar.

You can style the button with that. Add bg img to button, dimensions, text etc.

I hope this helps