Site logo

Archived topic

different backgrounds at static page and at article page

5 replies · Started by imke on April 14, 2018

Viewing posts 1–6 of 6

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

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.

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?

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

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

No problem :)

This archived topic is closed to new replies.