text in front of a picture needs to expand and contract (4 posts)

  1. AnnieM
    Posted 2 years ago #

    At http://nancyahuna.com I have a page featuring text with an image behind it. I got the technique from a video on youtube. Does anyone know a bit of code that can make the text expand and contract to fit the browser window?

    Unfortunately, I am primarily a busy writer and artist and I don't know much code, I just creates websites on the side and can't afford a designer, so any help is appreciated.

  2. OriginalEXE
    Posted 2 years ago #


    try adding this somewhere to your theme css:

    .content > div {
    max-width: 100%;
    background-size: 100%;

    You could also add those two rules inline like you did with the rest of the rules.

  3. AnnieM
    Posted 2 years ago #

    Thank you. I will try that.

  4. AnnieM
    Posted 2 years ago #

    It totally works. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic