X
Back to the
Component Shop
Read this first! Accordion Auto Sidebar Backbutton Before/After Comparison Collapsible Alert Count-down Script Cut-out Text Drop-down Equal Height Columns Filtered Portfolio Flip-cards Hamburger Menu Horizontal Tabs Image Gallery Image Modal Image Shapes Image Slider with Fade Jquery Parallax Lazy Loading Lightbox Gallery Masonry Grid Gallery Oval Image Range Slider Read More Button Responsive Navbar Responsive Shrinknav Responsive Sidebar Responsive Table Round Image Scroll to Top Simple Shapes Simple Cards Simple Slider Skill Bars Slide-in Nav Sticky Navbar Tabbed Gallery Text on Image Translucent Image Translucent Text Layer Vertical Tabs Video Wrapping Text

Text on Image

Half moon
Bottom Left
Top Left
Top Right
Bottom Right
Centered
If text is to be placed on top of a responsive image, it has to be positioned 'absolute' (and the parent container has to be positioned 'relative'). Here the positioning in all four corners and in the center can be found in the code.
If you have an image with few colours or sufficient space with the same colour, you can place the text directly on the image. If there are too many different colours, see the next two components for other solutions.

Download the component.