WordPress.org

Forums

Spun
[resolved] Adding a semi transparent background only on certain part of the post (6 posts)

  1. meyerwp
    Member
    Posted 1 year ago #

    Hello,
    I am using a full image background and I am using as well text in the post, usually under a video or photo. I would like to add a half transparent background but ONLY behind the text. Does someone had already solve this issue?
    Thanks a lot for your reply!
    cheers
    Jerome
    and yes I a am a new bee
    here is my site

  2. Andrew
    Forum moderator
    Posted 1 year ago #

    It would be easy if your video wasn't wrapped in a <p> element. You could then just style paragraphs to have the background colour.

  3. meyerwp
    Member
    Posted 1 year ago #

    Thanks Andrew for you reply!
    how do you "style paragraphs"?
    Is there a simple way to do this; I have been goggling
    but I did not find something convincing.
    Do you have any idea?
    Thanks!
    cheers

  4. meyerwp
    Member
    Posted 1 year ago #

    I meant it is possible for the whole site with apparence/customize but I would like to have this only in a few part like
    http://jeromemeyer.com/wordpress/?page_id=280

  5. meyerwp
    Member
    Posted 1 year ago #

    here is my new url
    jeromemeyer.com

    @Andrew
    can you tell me more about <p>
    and where I can stylize only some paragrapher?
    thanks!

  6. meyerwp
    Member
    Posted 1 year ago #

    the solution to my issue

    #primary.content-area {
    background:rgba(63, 63, 63, .5);
    }

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic