change image background.

For support and discussion related to templates, themes, and imagesets in phpBB 3.1.
Get Involved
Locked
Charisma44
Registered User
Posts: 390
Joined: Thu Nov 12, 2015 7:45 pm

change image background.

Post by Charisma44 » Thu Feb 09, 2017 3:04 pm

I changed my background image and still can't see it. I did the purge cashe.

travel
Registered User
Posts: 131
Joined: Sun Jan 11, 2015 7:21 pm

Re: change image background.

Post by travel » Thu Feb 09, 2017 3:40 pm

Which style?
How did you change your background image?

Charisma44
Registered User
Posts: 390
Joined: Thu Nov 12, 2015 7:45 pm

Re: change image background.

Post by Charisma44 » Thu Feb 09, 2017 3:41 pm

I have my own style so I went i there then images and replaced the old one with a new image. same name.

User avatar
Lumpy Burgertushie
Registered User
Posts: 66239
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: change image background.

Post by Lumpy Burgertushie » Thu Feb 09, 2017 3:42 pm

need a link to your board and the name of the image file you changed it to.


robert
I am available for custom work on a donation basis. Please send me a PM with your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

OK, so what's the speed of dark?

Charisma44
Registered User
Posts: 390
Joined: Thu Nov 12, 2015 7:45 pm

Re: change image background.

Post by Charisma44 » Thu Feb 09, 2017 3:49 pm


User avatar
Lumpy Burgertushie
Registered User
Posts: 66239
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: change image background.

Post by Lumpy Burgertushie » Thu Feb 09, 2017 3:53 pm

did you just replace the old image with a new one of the same name?

hard refresh your browser.
I am available for custom work on a donation basis. Please send me a PM with your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

OK, so what's the speed of dark?

Charisma44
Registered User
Posts: 390
Joined: Thu Nov 12, 2015 7:45 pm

Re: change image background.

Post by Charisma44 » Thu Feb 09, 2017 3:58 pm

I had three themes. I think I had replaced it in the wrong place. It's working now. Thank you.

Charisma44
Registered User
Posts: 390
Joined: Thu Nov 12, 2015 7:45 pm

Re: change image background.

Post by Charisma44 » Thu Feb 09, 2017 4:12 pm

One last question. Can I make the page content scroll put the background image stays put?

User avatar
Lumpy Burgertushie
Registered User
Posts: 66239
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: change image background.

Post by Lumpy Burgertushie » Thu Feb 09, 2017 4:52 pm

yes, in your colours.css , find this:

Code: Select all

html, body {
   
	background-repeat: repeat;
	background-image: url("./images/background.jpg");

}
change it to this:

Code: Select all

html, body {
        background-image: url("./images/background.jpg");
	background-size: 100% 100%;
	background-attachment:fixed;

}
see if that works for you.


robert
I am available for custom work on a donation basis. Please send me a PM with your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

OK, so what's the speed of dark?

Charisma44
Registered User
Posts: 390
Joined: Thu Nov 12, 2015 7:45 pm

Re: change image background.

Post by Charisma44 » Fri Feb 10, 2017 7:16 pm

It never made a difference.

Charisma44
Registered User
Posts: 390
Joined: Thu Nov 12, 2015 7:45 pm

Re: change image background.

Post by Charisma44 » Fri Feb 10, 2017 7:41 pm

We got it now. Thank you.

Locked

Return to “[3.1.x] Styles Support & Discussion”