Digi

How do I change the forum's background? - Digi

How do I change the forum's background?

by UnknownFusion » Wed Mar 09, 2016 10:43 am

Hello,

I was wondering how I would change the background of my forum. I searched it up and they said I have to go into colours.css, but this style only has colours.scss

Thanks in advance

Btw great style!
UnknownFusion
Registered User
Posts: 6
Joined: Wed Mar 09, 2016 10:36 am
Contact:

Re: How do I change the forum's background?

by UnknownFusion » Thu Mar 10, 2016 10:46 am

Never mine. I worked it out!
UnknownFusion
Registered User
Posts: 6
Joined: Wed Mar 09, 2016 10:36 am
Contact:

Re: How do I change the forum's background?

by UnknownFusion » Thu Mar 10, 2016 11:08 am

Ok, but the background is slightly a different colour to the actual picture, how do I fix that?
UnknownFusion
Registered User
Posts: 6
Joined: Wed Mar 09, 2016 10:36 am
Contact:

Re: How do I change the forum's background?

by Arty » Sat Mar 12, 2016 8:12 am

Add something like this to _custom.scss

Code: Select all

html, body { background: #000 url('./images/bg.png'); }

Change #000 to fallback background color and bg.png to correct background file name.
Vjacheslav Trushkin / Arty.
Free phpBB 3.1 styles | New project: Iconify - modern SVG framework
User avatar
Arty
Former Team Member
Posts: 16654
Joined: Wed Mar 06, 2002 2:36 pm
Name: Vjacheslav Trushkin
Contact:

Re: How do I change the forum's background?

by UnknownFusion » Sun Mar 13, 2016 6:46 am

Ok, I have done that and changed the URL, but the background is not actually changing from what it previously was. I removed the URLs from the colours.scss. Do I upload the image to my images directory and do I use: html, body { background: #000 url('./images/background.png'); }

NEVERMIND, I fixed it
UnknownFusion
Registered User
Posts: 6
Joined: Wed Mar 09, 2016 10:36 am
Contact:

Re: How do I change the forum's background?

by MadMe200 » Tue Mar 20, 2018 2:33 pm

Hi.. Am trying to change the background image from the green to my own i tryed to use your Help

Code: Select all

html, body { background: #000 url('./images/bg.png'); }
But mine just says the same i dont know if i have done it right

Code: Select all

html, body { background: #000 url('./images/HB.jpg'); }
	color: $text-color;
	background: $page-background url('./images/HB.jpg') center center;
	background: -webkit-linear-gradient(top, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, 0) 500px), -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0) 100%), $page-background url('./images/HB.jpg') center center;
	background: linear-gradient(to bottom, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, 0) 500px), linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0) 100%), $page-background url('./images/HB.jpg') center center;
	@if $use-wrapper {
		&.simple {
			background-color: $content-background;
		}
	}
	@else {
		background-color: $content-background;
	}
}
Any help would be great.
Thank You.
MadMe200
Registered User
Posts: 7
Joined: Tue Mar 20, 2018 2:23 pm
Contact:

Re: How do I change the forum's background?

by MrGaby » Tue Mar 20, 2018 4:59 pm

Hello

Have you recompiled the style?

You can also use the extension "background forum" by making the modifications that I propose here: https://www.phpbb.com/customise/db/exte ... pic/183231
If you like my work, you can support me with a donation. Thanks!
Donate via Paypal
MrGaby
Registered User
Posts: 153
Joined: Sun Apr 02, 2017 8:04 pm
Contact: