Celebrating 7 Years! Get up to $30 off GeneratePress Premium!

[Resolved] different backgrounds at static page and at article page

Home Forums Support [Resolved] different backgrounds at static page and at article page

Home Forums Support different backgrounds at static page and at article page

  • This topic has 5 replies, 2 voices, and was last updated 3 years ago by Leo.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #550367
    imke

    hello,
    I don’t succeed in putting different backgrounds in the content of the static page and the article page.
    In the customizer I put the background to “none;” and for the article part I wanted it like this:
    #primary {
    background: rgba(255,255,255,0.8); <— this made all the content-background white opaque!?
    }
    .inside-article {
    color: #000000;
    padding: 20px;
    }
    I wanted to provide this behind the “Team Login”
    Can I get any advice?
    Thank you

    GP Premium 1.6.2
    #550534
    Leo
    Staff
    Customer Support

    Hi there,

    Can you explain a bit more?

    So you are wanting the static pages to have different background images than the single posts?

    Also you are using Elementor for the content part so GP’s settings actually won’t work.

    Let me know if this helps.

    #550667
    imke

    hello Leo, good morning and thanks for responding so quickly!

    For the static pages in the body I set in the css/editor different background-images and I use elementor only in the content.
    All the general settings I made with the customizer/gp and it worked.
    But in the single post part I can’t use elementor (doesn’t appear), I don’t know why, but it doesn’t matter, because I want to keep it simple. The client wants to write the single posts himself.
    Now the problem is, that I can’t find an extra class to change only the content background in the single post page appart from the static pages.

    Do you have any idea to solve it?

    #550919
    Leo
    Staff
    Customer Support

    Try adding .single in front of whatever selector you are using.

    #551483
    imke

    hello Leo,
    thank you so much – it works!!

    #551743
    Leo
    Staff
    Customer Support
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.