Responsive hero image with text overlay in Oxygen

This members-only tutorial provides the steps to set up a responsive hero section in Oxygen with text overlaid on top.

We shall use an <img> element vs setting an image as cover background to ensure proportional scaling of the image.

At a smaller breakpoint, the text will be set to appear below the image.

Step 1

Edit your Page/Template in Oxygen in which you would like to add the responsive image with text overlay.

Step 2

Add a Section.

Text Color: #ffffff

This is a premium members-only content.

To view the rest of the content, please sign up for membership ($47/month or $599 one-time).

Already a member? Log in below or here.


Posted

in

,

by

Tags:

Comments

4 responses to “Responsive hero image with text overlay in Oxygen”

  1. bjtierney Avatar
    bjtierney

    hi sridhar…
    I just added this to a page and thought I followed everything – went over it 3 x – but something weird is going on – there’s a transparent grey going beyond the image into the page on desktop and iphone – inspector is showing that its the background in the :before section – Also, when you hover over it, the type and the fill disappears. and I can’t get the headline to center… can you guide me? website is: https://jonbates.com

    Thank you!

    1. Sridhar Katakam Avatar

      Hi Barb,

      Which section are we talking about on the homepage of that site?

  2. bjtierney Avatar
    bjtierney

    Update – I didn’t give you the page – bt since I’ve tried another – so it is happening on both pages: https://jonbates.com/jon-bates/ and https://jonbates.com/about-the-jon-bates-band/

Leave a Reply

Your email address will not be published. Required fields are marked *