Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: How to create an image overlay?

Discussion in 'Misc WordPress Requests' started by Steve Stern, Jan 1, 2018.

  1. Steve Stern

    Guest

    Reply To: How to create an image overlay?, by Steve Stern

    There are a couple of ways.

    1. Put your text in a <span> and float it over the image. Put a background color on the span and some padding so the text sites in a colored rectangle.

    2. Don’t assign a background color, but use a text-shadow to make the floated text readable when floated over the image.

    Both would be done in CSS (with a bit of supporting HTML).

    Reply To: How to create an image overlay?
     
    #1

Share This Page

Monarch Social Sharing Plugin