Home › Forums › Support › opaque background on main image This topic has 9 replies, 3 voices, and was last updated 4 years, 1 month ago by David. Viewing 10 posts - 1 through 10 (of 10 total) Author Posts February 17, 2020 at 3:05 pm #1168556 Richard Hi, how do i add in an opaque background like something on https://www.clapham-landscapes.co.uk/ in the main image please? February 17, 2020 at 3:22 pm #1168563 LeoStaff Customer Support Hi there, Are you using a header element currently? If so can you link me to the site in question? Let me know π February 18, 2020 at 1:12 pm #1169598 Richard Hi Leo, sure thing (how do i do that in private please?) February 18, 2020 at 1:13 pm #1169601 LeoStaff Customer Support You can edit the original topic and use the private URL field. Let me know π February 18, 2020 at 1:22 pm #1169611 Richard Thanks! I’ve done that π February 18, 2020 at 3:00 pm #1169692 LeoStaff Customer Support So you want to apply that for the h1 and h2 on the home page hero? What about the button? February 20, 2020 at 12:06 pm #1171914 Richard Yes please Leo. I’m just going to make the button a different colour I think π February 20, 2020 at 9:06 pm #1172170 LeoStaff Customer Support Try adding a <div> around your page hero content like this: https://generatepress.com/forums/topic/parallax-text-background-box/#post-1170973 February 22, 2020 at 2:13 am #1173362 Richard Thanks Leo, that’s added in a white background – ideally need it opaque – any ideas? February 22, 2020 at 8:10 am #1173683 DavidStaff Customer Support Hi there, in this CSS: .hero-content { background-color: #ffffff; padding: 20px; } Change: background-color: #ffffff; to: background-color: rgba(255,255,255,0.7); the 0.7 is the alpha value that defines its opacity Author Posts Viewing 10 posts - 1 through 10 (of 10 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In