{"id":9206,"date":"2024-01-18T17:59:00","date_gmt":"2024-01-18T17:59:00","guid":{"rendered":"https:\/\/codehim.com\/?p=9206"},"modified":"2024-01-22T16:01:06","modified_gmt":"2024-01-22T11:01:06","slug":"background-image-with-text-overlay","status":"publish","type":"post","link":"https:\/\/codehim.com\/html5-css3\/background-image-with-text-overlay\/","title":{"rendered":"15+ Background Image With Text Overlay"},"content":{"rendered":"<p>This CSS code snippet helps you to create a background image with text overlay. It comes with 15+ dynamic positioning of text over images for modern web design. It provides flexible text placement on images with prebuilt classes.<\/p>\n<p>Moreover, it works by styling the containers, rows, and text overlays, allowing you to easily <a href=\"https:\/\/codehim.com\/carousel\/responsive-image-slider-with-text\/\" target=\"_blank\" rel=\"noopener\">overlay text on images<\/a>, making your website more engaging and user-friendly.<\/p>\n<h2>How to Create Background Image With Text Overlay<\/h2>\n<p>1. First, see the demo page and choose which type of text overlay you want to use, then copy the desired HTML code. Make sure to include the necessary HTML tags to create the elements that will hold your background images and text overlays. You can use div elements with appropriate classes to structure your content.<\/p>\n<pre class=\"prettyprint linenums lang-html\">&lt;div class=\"container\"&gt;\r\n  &lt;h1 class=\"text-center\"&gt;White Overlay - Black Text&lt;\/h1&gt;\r\n  &lt;div class=\"row\"&gt;\r\n    &lt;div class=\"col-md-4 col-xs-12\"&gt;\r\n      &lt;div class=\"image-text-overlay text-top-left\" style=\"background-image: url(https:\/\/source.unsplash.com\/640x320?natural);\"&gt;\r\n        &lt;p&gt;\r\n          &lt;span class=\"overlay-title\"&gt;Top Left&lt;\/span&gt;&lt;br&gt;\r\n          &lt;span class=\"overlay-subtext\"&gt;This is subtext.&lt;\/span&gt;\r\n        &lt;\/p&gt;\r\n        &lt;div class=\"overlay-white\"&gt;&lt;\/div&gt;\r\n      &lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n    &lt;div class=\"col-md-4 col-xs-12\"&gt;\r\n      &lt;div class=\"image-text-overlay text-top-center\" style=\"background-image: url(https:\/\/source.unsplash.com\/640x320?natural);\"&gt;        \r\n        &lt;p&gt;\r\n          &lt;span class=\"overlay-title\"&gt;Top center&lt;\/span&gt;&lt;br&gt;\r\n          &lt;span class=\"overlay-subtext\"&gt;This is subtext.&lt;\/span&gt;\r\n        &lt;\/p&gt;\r\n        &lt;div class=\"overlay-white\"&gt;&lt;\/div&gt;       \r\n      &lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n    &lt;div class=\"col-md-4 col-xs-12\"&gt;\r\n      &lt;div class=\"image-text-overlay text-top-right\" style=\"background-image: url(https:\/\/source.unsplash.com\/640x320?natural);\"&gt;\r\n        &lt;p&gt;\r\n          &lt;span class=\"overlay-title\"&gt;top right&lt;\/span&gt;&lt;br&gt;\r\n          &lt;span class=\"overlay-subtext\"&gt;This is subtext.&lt;\/span&gt;\r\n        &lt;\/p&gt;\r\n        &lt;div class=\"overlay-white\"&gt;&lt;\/div&gt;\r\n      &lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n  &lt;\/div&gt;\r\n  \r\n  \r\n  &lt;div class=\"row\"&gt;\r\n    &lt;div class=\"col-md-4 col-xs-12\"&gt;\r\n      &lt;div class=\"image-text-overlay text-middle-left\" style=\"background-image: url(https:\/\/source.unsplash.com\/640x320?natural);\"&gt;\r\n        &lt;p&gt;\r\n          &lt;span class=\"overlay-title\"&gt;middle left&lt;\/span&gt;&lt;br&gt;\r\n          &lt;span class=\"overlay-subtext\"&gt;This is subtext.&lt;\/span&gt;\r\n        &lt;\/p&gt;\r\n        &lt;div class=\"overlay-white\"&gt;&lt;\/div&gt;\r\n      &lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n    &lt;div class=\"col-md-4 col-xs-12\"&gt;\r\n      &lt;div class=\"image-text-overlay text-middle-center\" style=\"background-image: url(https:\/\/source.unsplash.com\/640x320?natural);\"&gt;        \r\n        &lt;p&gt;\r\n          &lt;span class=\"overlay-title\"&gt;middle center&lt;\/span&gt;&lt;br&gt;\r\n          &lt;span class=\"overlay-subtext\"&gt;This is subtext.&lt;\/span&gt;\r\n        &lt;\/p&gt;\r\n        &lt;div class=\"overlay-white\"&gt;&lt;\/div&gt;       \r\n      &lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n    &lt;div class=\"col-md-4 col-xs-12\"&gt;\r\n      &lt;div class=\"image-text-overlay text-middle-right\" style=\"background-image: url(https:\/\/source.unsplash.com\/640x320?natural);\"&gt;\r\n        &lt;p&gt;\r\n          &lt;span class=\"overlay-title\"&gt;middle right&lt;\/span&gt;&lt;br&gt;\r\n          &lt;span class=\"overlay-subtext\"&gt;This is subtext.&lt;\/span&gt;\r\n        &lt;\/p&gt;\r\n        &lt;div class=\"overlay-white\"&gt;&lt;\/div&gt;\r\n      &lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n  &lt;\/div&gt;\r\n  \r\n  &lt;div class=\"row\"&gt;\r\n    &lt;div class=\"col-md-4 col-xs-12\"&gt;\r\n      &lt;div class=\"image-text-overlay text-bottom-left\" style=\"background-image: url(https:\/\/source.unsplash.com\/640x320?natural);\"&gt;\r\n        &lt;p&gt;\r\n          &lt;span class=\"overlay-title\"&gt;bottom left&lt;\/span&gt;&lt;br&gt;\r\n          &lt;span class=\"overlay-subtext\"&gt;This is subtext.&lt;\/span&gt;\r\n        &lt;\/p&gt;\r\n        &lt;div class=\"overlay-white\"&gt;&lt;\/div&gt;\r\n      &lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n    &lt;div class=\"col-md-4 col-xs-12\"&gt;\r\n      &lt;div class=\"image-text-overlay text-bottom-center\" style=\"background-image: url(https:\/\/source.unsplash.com\/640x320?natural);\"&gt;        \r\n        &lt;p&gt;\r\n          &lt;span class=\"overlay-title\"&gt;bottom center&lt;\/span&gt;&lt;br&gt;\r\n          &lt;span class=\"overlay-subtext\"&gt;This is subtext.&lt;\/span&gt;\r\n        &lt;\/p&gt;\r\n        &lt;div class=\"overlay-white\"&gt;&lt;\/div&gt;       \r\n      &lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n    &lt;div class=\"col-md-4 col-xs-12\"&gt;\r\n      &lt;div class=\"image-text-overlay text-bottom-right\" style=\"background-image: url(https:\/\/source.unsplash.com\/640x320?natural);\"&gt;\r\n        &lt;p&gt;\r\n          &lt;span class=\"overlay-title\"&gt;bottom right&lt;\/span&gt;&lt;br&gt;\r\n          &lt;span class=\"overlay-subtext\"&gt;This is subtext&lt;\/span&gt;\r\n        &lt;\/p&gt;\r\n        &lt;div class=\"overlay-white\"&gt;&lt;\/div&gt;\r\n      &lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n  &lt;\/div&gt;\r\n&lt;\/div&gt;\r\n\r\n\r\n\r\n&lt;div class=\"container\"&gt;\r\n  &lt;h1 class=\"text-center\"&gt;Black Overlay - White Text&lt;\/h1&gt;\r\n  &lt;div class=\"row\"&gt;\r\n    &lt;div class=\"col-md-4 col-xs-12\"&gt;\r\n      &lt;div class=\"image-text-overlay text-top-left text-white\" style=\"background-image: url(https:\/\/source.unsplash.com\/640x320?natural);\"&gt;\r\n        &lt;p&gt;\r\n          &lt;span class=\"overlay-title\"&gt;top left&lt;\/span&gt;&lt;br&gt;\r\n          &lt;span class=\"overlay-subtext\"&gt;This is subtext.&lt;\/span&gt;\r\n        &lt;\/p&gt;\r\n        &lt;div class=\"overlay-black\"&gt;&lt;\/div&gt;\r\n      &lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n    &lt;div class=\"col-md-4 col-xs-12\"&gt;\r\n      &lt;div class=\"image-text-overlay text-top-center text-white\" style=\"background-image: url(https:\/\/source.unsplash.com\/640x320?natural);\"&gt;        \r\n        &lt;p&gt;\r\n          &lt;span class=\"overlay-title\"&gt;top center&lt;\/span&gt;&lt;br&gt;\r\n          &lt;span class=\"overlay-subtext\"&gt;This is subtext.&lt;\/span&gt;\r\n        &lt;\/p&gt;\r\n        &lt;div class=\"overlay-black\"&gt;&lt;\/div&gt;       \r\n      &lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n    &lt;div class=\"col-md-4 col-xs-12\"&gt;\r\n      &lt;div class=\"image-text-overlay text-top-right text-white\" style=\"background-image: url(https:\/\/source.unsplash.com\/640x320?natural);\"&gt;\r\n        &lt;p&gt;\r\n          &lt;span class=\"overlay-title\"&gt;top right&lt;\/span&gt;&lt;br&gt;\r\n          &lt;span class=\"overlay-subtext\"&gt;This is subtext.&lt;\/span&gt;\r\n        &lt;\/p&gt;\r\n        &lt;div class=\"overlay-black\"&gt;&lt;\/div&gt;\r\n      &lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n  &lt;\/div&gt;\r\n  \r\n  \r\n  &lt;div class=\"row\"&gt;\r\n    &lt;div class=\"col-md-4 col-xs-12\"&gt;\r\n      &lt;div class=\"image-text-overlay text-middle-left text-white\" style=\"background-image: url(https:\/\/source.unsplash.com\/640x320?natural);\"&gt;\r\n        &lt;p&gt;\r\n          &lt;span class=\"overlay-title\"&gt;middle left&lt;\/span&gt;&lt;br&gt;\r\n          &lt;span class=\"overlay-subtext\"&gt;This is subtext.&lt;\/span&gt;\r\n        &lt;\/p&gt;\r\n        &lt;div class=\"overlay-black\"&gt;&lt;\/div&gt;\r\n      &lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n    &lt;div class=\"col-md-4 col-xs-12\"&gt;\r\n      &lt;div class=\"image-text-overlay text-middle-center text-white\" style=\"background-image: url(https:\/\/source.unsplash.com\/640x320?natural);\"&gt;        \r\n        &lt;p&gt;\r\n          &lt;span class=\"overlay-title\"&gt;middle center&lt;\/span&gt;&lt;br&gt;\r\n          &lt;span class=\"overlay-subtext\"&gt;This is subtext.&lt;\/span&gt;\r\n        &lt;\/p&gt;\r\n        &lt;div class=\"overlay-black\"&gt;&lt;\/div&gt;       \r\n      &lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n    &lt;div class=\"col-md-4 col-xs-12\"&gt;\r\n      &lt;div class=\"image-text-overlay text-middle-right text-white\" style=\"background-image: url(https:\/\/source.unsplash.com\/640x320?natural);\"&gt;\r\n        &lt;p&gt;\r\n          &lt;span class=\"overlay-title\"&gt;middle right&lt;\/span&gt;&lt;br&gt;\r\n          &lt;span class=\"overlay-subtext\"&gt;This is subtext.&lt;\/span&gt;\r\n        &lt;\/p&gt;\r\n        &lt;div class=\"overlay-black\"&gt;&lt;\/div&gt;\r\n      &lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n  &lt;\/div&gt;\r\n  \r\n  &lt;div class=\"row\"&gt;\r\n    &lt;div class=\"col-md-4 col-xs-12\"&gt;\r\n      &lt;div class=\"image-text-overlay text-bottom-left text-white\" style=\"background-image: url(https:\/\/source.unsplash.com\/640x320?natural);\"&gt;\r\n        &lt;p&gt;\r\n          &lt;span class=\"overlay-title\"&gt;bottom left&lt;\/span&gt;&lt;br&gt;\r\n          &lt;span class=\"overlay-subtext\"&gt;This is subtext.&lt;\/span&gt;\r\n        &lt;\/p&gt;\r\n        &lt;div class=\"overlay-black\"&gt;&lt;\/div&gt;\r\n      &lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n    &lt;div class=\"col-md-4 col-xs-12\"&gt;\r\n      &lt;div class=\"image-text-overlay text-bottom-center text-white\" style=\"background-image: url(https:\/\/source.unsplash.com\/640x320?natural);\"&gt;        \r\n        &lt;p&gt;\r\n          &lt;span class=\"overlay-title\"&gt;bottom center&lt;\/span&gt;&lt;br&gt;\r\n          &lt;span class=\"overlay-subtext\"&gt;This is subtext.&lt;\/span&gt;\r\n        &lt;\/p&gt;\r\n        &lt;div class=\"overlay-black\"&gt;&lt;\/div&gt;       \r\n      &lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n    &lt;div class=\"col-md-4 col-xs-12\"&gt;\r\n      &lt;div class=\"image-text-overlay text-bottom-right text-white\" style=\"background-image: url(https:\/\/source.unsplash.com\/640x320?natural);\"&gt;\r\n        &lt;p&gt;\r\n          &lt;span class=\"overlay-title\"&gt;bottom right&lt;\/span&gt;&lt;br&gt;\r\n          &lt;span class=\"overlay-subtext\"&gt;This is subtext.&lt;\/span&gt;\r\n        &lt;\/p&gt;\r\n        &lt;div class=\"overlay-black\"&gt;&lt;\/div&gt;\r\n      &lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n  &lt;\/div&gt;\r\n&lt;\/div&gt;<\/pre>\n<p>2. Make sure to include the following CSS code in your own CSS file. You can customize the CSS classes and styles to match your website&#8217;s design and requirements.<\/p>\n<pre class=\"prettyprint linenums lang-css\">.container {\r\n  padding-bottom: 50px;\r\n}\r\n.row {\r\n  padding-top: 50px;\r\n}\r\n.image-text-overlay {\r\n  width: 100%;\r\n  height: 225px;\r\n  background-size: cover;\r\n  background-repeat: no-repeat;\r\n  position: relative;\r\n}\r\n.image-text-overlay.text-white {\r\n  color: white;\r\n}\r\n.image-text-overlay .overlay-title {\r\n  font-size: 27px;\r\n  text-transform: uppercase;\r\n}\r\n.image-text-overlay .overlay-subtext {\r\n  font-size: 20px;\r\n}\r\n.image-text-overlay .overlay-white,\r\n.image-text-overlay .overlay-black {\r\n  position: absolute;\r\n  left: 0;\r\n  top: 0;\r\n  right: 0;\r\n  bottom: 0;\r\n  z-index: 1;\r\n  opacity: 0.7;\r\n}\r\n.image-text-overlay .overlay-black {\r\n  background: #000;\r\n}\r\n.image-text-overlay .overlay-white {\r\n  background: #fff;\r\n}\r\n.text-top-left,\r\n.text-top-center,\r\n.text-top-right,\r\n.text-middle-left,\r\n.text-middle-center,\r\n.text-middle-right,\r\n.text-bottom-left,\r\n.text-bottom-right,\r\n.text-bottom-center {\r\n  display: table;\r\n}\r\n.text-top-left p,\r\n.text-top-center p,\r\n.text-top-right p,\r\n.text-middle-left p,\r\n.text-middle-center p,\r\n.text-middle-right p,\r\n.text-bottom-left p,\r\n.text-bottom-right p,\r\n.text-bottom-center p {\r\n  display: table-cell;\r\n  position: relative;\r\n  z-index: 2;\r\n  padding: 15px 20px 15px 20px;\r\n}\r\n.text-top-left p {\r\n  vertical-align: top;\r\n  text-align: left;\r\n}\r\n.text-top-center p {\r\n  vertical-align: top;\r\n  text-align: center;\r\n}\r\n.text-top-right p {\r\n  vertical-align: top;\r\n  text-align: right;\r\n}\r\n.text-middle-left p {\r\n  vertical-align: middle;\r\n  text-align: left;\r\n}\r\n.text-middle-center p {\r\n  vertical-align: middle;\r\n  text-align: center;\r\n}\r\n.text-middle-right p {\r\n  vertical-align: middle;\r\n  text-align: right;\r\n}\r\n.text-bottom-left p {\r\n  vertical-align: bottom;\r\n  text-align: left;\r\n}\r\n.text-bottom-center p {\r\n  vertical-align: bottom;\r\n  text-align: center;\r\n}\r\n.text-bottom-right p {\r\n  vertical-align: bottom;\r\n  text-align: right;\r\n}\r\n@media (min-width: 1200px) {\r\n  .container {\r\n    width: 1200px;\r\n  }\r\n}\r\n@media screen and (max-width: 992px) {\r\n  .col-md-4 {\r\n    padding-bottom: 25px;\r\n  }\r\n}<\/pre>\n<p>You can customize the text and appearance of your text overlays by modifying the HTML content and CSS classes. For example, change the Title and &#8220;Subtext or description&#8221; to your desired text, and adjust font sizes, colors, and positioning by altering the CSS rules.<\/p>\n<p>That&#8217;s all! hopefully, you have successfully created a Background Image With Text Overlay. If you have any questions or suggestions, feel free to comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This CSS code snippet helps you to create a background image with text overlay. It comes with 15+ dynamic positioning&#8230;<\/p>\n","protected":false},"author":1,"featured_media":9219,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[63],"tags":[],"class_list":["post-9206","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-html5-css3"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>15+ Background Image With Text Overlay &#8212; CodeHim<\/title>\n<meta name=\"description\" content=\"Here is a free code snippet to create a 15+ Background Image With Text Overlay. You can view demo and download the source code.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/codehim.com\/html5-css3\/background-image-with-text-overlay\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"15+ Background Image With Text Overlay &#8212; CodeHim\" \/>\n<meta property=\"og:description\" content=\"Here is a free code snippet to create a 15+ Background Image With Text Overlay. You can view demo and download the source code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codehim.com\/html5-css3\/background-image-with-text-overlay\/\" \/>\n<meta property=\"og:site_name\" content=\"CodeHim\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/codehimofficial\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-18T17:59:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-22T11:01:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Background-Image-With-Text-Overlay.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"960\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Asif Mughal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@CodeHimOfficial\" \/>\n<meta name=\"twitter:site\" content=\"@CodeHimOfficial\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Asif Mughal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/codehim.com\/html5-css3\/background-image-with-text-overlay\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/background-image-with-text-overlay\/\"},\"author\":{\"name\":\"Asif Mughal\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\"},\"headline\":\"15+ Background Image With Text Overlay\",\"datePublished\":\"2024-01-18T17:59:00+00:00\",\"dateModified\":\"2024-01-22T11:01:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/background-image-with-text-overlay\/\"},\"wordCount\":230,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/background-image-with-text-overlay\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Background-Image-With-Text-Overlay.png\",\"articleSection\":[\"HTML5 &amp; CSS3\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/codehim.com\/html5-css3\/background-image-with-text-overlay\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/codehim.com\/html5-css3\/background-image-with-text-overlay\/\",\"url\":\"https:\/\/codehim.com\/html5-css3\/background-image-with-text-overlay\/\",\"name\":\"15+ Background Image With Text Overlay &#8212; CodeHim\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/background-image-with-text-overlay\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/background-image-with-text-overlay\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Background-Image-With-Text-Overlay.png\",\"datePublished\":\"2024-01-18T17:59:00+00:00\",\"dateModified\":\"2024-01-22T11:01:06+00:00\",\"description\":\"Here is a free code snippet to create a 15+ Background Image With Text Overlay. You can view demo and download the source code.\",\"breadcrumb\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/background-image-with-text-overlay\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/codehim.com\/html5-css3\/background-image-with-text-overlay\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/html5-css3\/background-image-with-text-overlay\/#primaryimage\",\"url\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Background-Image-With-Text-Overlay.png\",\"contentUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Background-Image-With-Text-Overlay.png\",\"width\":1280,\"height\":960,\"caption\":\"Background Image With Text Overlay\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/codehim.com\/html5-css3\/background-image-with-text-overlay\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/codehim.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"HTML5 &amp; CSS3\",\"item\":\"https:\/\/codehim.com\/category\/html5-css3\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"15+ Background Image With Text Overlay\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/codehim.com\/#website\",\"url\":\"https:\/\/codehim.com\/\",\"name\":\"CodeHim\",\"description\":\"Web Design Code Snippets\",\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"alternateName\":\"Web Design Codes\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/codehim.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/codehim.com\/#organization\",\"name\":\"CodeHim - Web Design Code & Scripts\",\"url\":\"https:\/\/codehim.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg\",\"contentUrl\":\"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg\",\"width\":280,\"height\":280,\"caption\":\"CodeHim - Web Design Code & Scripts\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/codehimofficial\",\"https:\/\/x.com\/CodeHimOfficial\",\"https:\/\/www.instagram.com\/codehim\/\",\"https:\/\/www.linkedin.com\/company\/codehim\",\"https:\/\/co.pinterest.com\/codehim\/\",\"https:\/\/www.youtube.com\/@codehim\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\",\"name\":\"Asif Mughal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g\",\"caption\":\"Asif Mughal\"},\"description\":\"I code and create web elements for amazing people around the world. I like work with new people. New people new Experiences. I truly enjoy what I'm doing, which makes me more passionate about web development and coding. I am always ready to do challenging tasks whether it is about creating a custom CMS from scratch or customizing an existing system.\",\"sameAs\":[\"https:\/\/codehim.com\"],\"url\":\"https:\/\/codehim.com\/author\/asif-mughal\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"15+ Background Image With Text Overlay &#8212; CodeHim","description":"Here is a free code snippet to create a 15+ Background Image With Text Overlay. You can view demo and download the source code.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/codehim.com\/html5-css3\/background-image-with-text-overlay\/","og_locale":"en_US","og_type":"article","og_title":"15+ Background Image With Text Overlay &#8212; CodeHim","og_description":"Here is a free code snippet to create a 15+ Background Image With Text Overlay. You can view demo and download the source code.","og_url":"https:\/\/codehim.com\/html5-css3\/background-image-with-text-overlay\/","og_site_name":"CodeHim","article_publisher":"https:\/\/www.facebook.com\/codehimofficial","article_published_time":"2024-01-18T17:59:00+00:00","article_modified_time":"2024-01-22T11:01:06+00:00","og_image":[{"width":1280,"height":960,"url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Background-Image-With-Text-Overlay.png","type":"image\/png"}],"author":"Asif Mughal","twitter_card":"summary_large_image","twitter_creator":"@CodeHimOfficial","twitter_site":"@CodeHimOfficial","twitter_misc":{"Written by":"Asif Mughal","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/codehim.com\/html5-css3\/background-image-with-text-overlay\/#article","isPartOf":{"@id":"https:\/\/codehim.com\/html5-css3\/background-image-with-text-overlay\/"},"author":{"name":"Asif Mughal","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed"},"headline":"15+ Background Image With Text Overlay","datePublished":"2024-01-18T17:59:00+00:00","dateModified":"2024-01-22T11:01:06+00:00","mainEntityOfPage":{"@id":"https:\/\/codehim.com\/html5-css3\/background-image-with-text-overlay\/"},"wordCount":230,"commentCount":0,"publisher":{"@id":"https:\/\/codehim.com\/#organization"},"image":{"@id":"https:\/\/codehim.com\/html5-css3\/background-image-with-text-overlay\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Background-Image-With-Text-Overlay.png","articleSection":["HTML5 &amp; CSS3"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codehim.com\/html5-css3\/background-image-with-text-overlay\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codehim.com\/html5-css3\/background-image-with-text-overlay\/","url":"https:\/\/codehim.com\/html5-css3\/background-image-with-text-overlay\/","name":"15+ Background Image With Text Overlay &#8212; CodeHim","isPartOf":{"@id":"https:\/\/codehim.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codehim.com\/html5-css3\/background-image-with-text-overlay\/#primaryimage"},"image":{"@id":"https:\/\/codehim.com\/html5-css3\/background-image-with-text-overlay\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Background-Image-With-Text-Overlay.png","datePublished":"2024-01-18T17:59:00+00:00","dateModified":"2024-01-22T11:01:06+00:00","description":"Here is a free code snippet to create a 15+ Background Image With Text Overlay. You can view demo and download the source code.","breadcrumb":{"@id":"https:\/\/codehim.com\/html5-css3\/background-image-with-text-overlay\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codehim.com\/html5-css3\/background-image-with-text-overlay\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/html5-css3\/background-image-with-text-overlay\/#primaryimage","url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Background-Image-With-Text-Overlay.png","contentUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/10\/Background-Image-With-Text-Overlay.png","width":1280,"height":960,"caption":"Background Image With Text Overlay"},{"@type":"BreadcrumbList","@id":"https:\/\/codehim.com\/html5-css3\/background-image-with-text-overlay\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/codehim.com\/"},{"@type":"ListItem","position":2,"name":"HTML5 &amp; CSS3","item":"https:\/\/codehim.com\/category\/html5-css3\/"},{"@type":"ListItem","position":3,"name":"15+ Background Image With Text Overlay"}]},{"@type":"WebSite","@id":"https:\/\/codehim.com\/#website","url":"https:\/\/codehim.com\/","name":"CodeHim","description":"Web Design Code Snippets","publisher":{"@id":"https:\/\/codehim.com\/#organization"},"alternateName":"Web Design Codes","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/codehim.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/codehim.com\/#organization","name":"CodeHim - Web Design Code & Scripts","url":"https:\/\/codehim.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/#\/schema\/logo\/image\/","url":"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg","contentUrl":"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg","width":280,"height":280,"caption":"CodeHim - Web Design Code & Scripts"},"image":{"@id":"https:\/\/codehim.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/codehimofficial","https:\/\/x.com\/CodeHimOfficial","https:\/\/www.instagram.com\/codehim\/","https:\/\/www.linkedin.com\/company\/codehim","https:\/\/co.pinterest.com\/codehim\/","https:\/\/www.youtube.com\/@codehim"]},{"@type":"Person","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed","name":"Asif Mughal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g","caption":"Asif Mughal"},"description":"I code and create web elements for amazing people around the world. I like work with new people. New people new Experiences. I truly enjoy what I'm doing, which makes me more passionate about web development and coding. I am always ready to do challenging tasks whether it is about creating a custom CMS from scratch or customizing an existing system.","sameAs":["https:\/\/codehim.com"],"url":"https:\/\/codehim.com\/author\/asif-mughal\/"}]}},"views":2679,"_links":{"self":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/9206","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/comments?post=9206"}],"version-history":[{"count":0,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/9206\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media\/9219"}],"wp:attachment":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media?parent=9206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/categories?post=9206"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/tags?post=9206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}