metrolike

Change theme background - metrolike

Change theme background

by Sizi » Fri Oct 16, 2020 8:57 pm

Where can I change the background of the theme from gray to white?
Stretch theme style metrolike to full width ?
Tell me, thanks in advance
Sizi
Registered User
Posts: 18
Joined: Sun Feb 02, 2020 6:52 pm
Contact:

Re: Change theme background

by eeji » Mon Oct 19, 2020 10:20 pm

To change the background colour to white, look on line 8 of colours.css and change background-color: #f9f9f9; to background-color: #ffffff;

For the width, open common.css and on line 141 change the value of max-width to your preference. (100% for full width)

After uploading back to your server, clear the cache in your ACP.
My phpBB styles: phpbbstyles.oo.gd
My board: iansvivarium.com
User avatar
eeji
Jr. Style Validator
Posts: 1311
Joined: Fri Dec 12, 2008 9:08 pm
Location: Manchester, UK
Contact:

Re: Change theme background

by Sizi » Mon Oct 19, 2020 10:47 pm

eeji wrote:To change the background colour to white, look on line 8 of colours.css and change background-color: #f9f9f9; to background-color: #ffffff;

For the width, open common.css and on line 141 change the value of max-width to your preference. (100% for full width)

After uploading back to your server, clear the cache in your ACP.
Nothing has changed, the background was gray and remained so. I cleaned and checked everything 3 times.
Sizi
Registered User
Posts: 18
Joined: Sun Feb 02, 2020 6:52 pm
Contact:

Re: Change theme background

by Sizi » Mon Oct 19, 2020 11:07 pm

eeji wrote:To change the background colour to white, look on line 8 of colours.css and change background-color: #f9f9f9; to background-color: #ffffff;

For the width, open common.css and on line 141 change the value of max-width to your preference. (100% for full width)

After uploading back to your server, clear the cache in your ACP.
What you advised me is responsible for the background on the main page, and not for the background, the placement of topics and messages
Sizi
Registered User
Posts: 18
Joined: Sun Feb 02, 2020 6:52 pm
Contact:

Re: Change theme background

by eeji » Tue Oct 20, 2020 6:34 pm

You didn't specify WHICH background you wanted to change. Topic and message backgrounds ar controlled by .bg1 and .bg2 which can be found on lines 113 and 121 of colours.css

Be aware though that there are other elements that use these same background colours so they too will change if you alter these values.
My phpBB styles: phpbbstyles.oo.gd
My board: iansvivarium.com
User avatar
eeji
Jr. Style Validator
Posts: 1311
Joined: Fri Dec 12, 2008 9:08 pm
Location: Manchester, UK
Contact:

Re: Change theme background

by Sizi » Tue Oct 20, 2020 10:29 pm

eeji wrote:You didn't specify WHICH background you wanted to change. Topic and message backgrounds ar controlled by .bg1 and .bg2 which can be found on lines 113 and 121 of colours.css

Be aware though that there are other elements that use these same background colours so they too will change if you alter these values.
I do not speak English because of this I write from google translator, I want to change the background where we write articles. I do not know how to write correctly in your language.
Sizi
Registered User
Posts: 18
Joined: Sun Feb 02, 2020 6:52 pm
Contact:

Re: Change theme background

by Sizi » Wed Oct 21, 2020 12:54 pm

Thank you, I did it! I only changed on line 121
Sizi
Registered User
Posts: 18
Joined: Sun Feb 02, 2020 6:52 pm
Contact: