Site logo

Archived topic

Different Background Pictures for each Site

2 replies · Started by Martin Gehring on February 9, 2018

Viewing posts 1–3 of 3

Hello,

for a new project I need different background pictures for each site.
Basically I can solve this with simple CSS.
Looks like this:

.page-id-6 {
background-image: url('http://parkufer.de/wpinstall/wp-content/uploads/2018/02/home.jpg');
}

My problem is, that the background picture appears top left. Maybe it's simple but I don't find out how to center it. Hope you can help me.

The page is:

http://parkufer.de/wpinstall/

Thanks in advance

Martin

Got it...

.page-id-6 {
background-image: url('http://parkufer.de/wpinstall/wp-content/uploads/2018/02/home.jpg');
background-position: center center;
}

Thanks and have a nice day...

Glad you figured out :)

This archived topic is closed to new replies.