Reds (2020)

Changing background color and removing header text - Reds (2020)

Changing background color and removing header text

by Fezroux » Fri Oct 11, 2024 6:54 am

Hello, is there a way to change the background color or the ability to replace it with a seamless pattern? It's a little too stark white for me.

Also, how do you remove the site description text in the header?

Thanks!
Fezroux
Registered User
Posts: 64
Joined: Thu Dec 14, 2017 7:41 am
Location: US

Re: Changing background color and removing header text

by Chris1278 » Fri Oct 11, 2024 7:26 am

Of course you can change the white background color.

To do this, open the file:

styles/reds2020/theme/coustom.css:

At the end, add this:

Code: Select all

.wrap {
    background-color: #FFF; <-- Simply adjust the color value for the background.
}
Then empty the forums and browser cache. If the color change does not take effect, you can also do the following:

Code: Select all

.wrap {
    background-color: #FFF !important; <-- Simply adjust the color value for the background.
}
However, the version with !important should only be used as a last resort.

For the site description you can try the following. In the same css file, add this at the end:

Code: Select all

.site-description h1 {
	display: none;
}

.site-description p {
	display: none;
}

If previous customization causes errors, you can also do the following. Undo previous customizations except the .wrap.

Then open the file:

styles\reds2020\template\overall_header.html


find in this file:

Code: Select all

<h1>{SITENAME}</h1>
<p>{SITE_DESCRIPTION}</p>
an replace with:

Code: Select all

<h1 class="reds_sitename_h1">{SITENAME}</h1>
<p class="reds_sitename_p">{SITE_DESCRIPTION}</p>

Then open the file:

styles/reds2020/theme/coustom.css:


And add the following at the end:

Code: Select all

.reds_sitename_h1, reds_sitename_p {
    display: none;
}

Then just empty the forum and browser cache and you're done.

But remember that you have to repeat these changes every time you update the style.
User avatar
Chris1278
Jr. Extension Validator
Posts: 480
Joined: Thu Mar 14, 2019 6:07 pm

Re: Changing background color and removing header text

by Fezroux » Sun Oct 13, 2024 6:54 am

Hey thanks for taking the time to put together such a thorough response as it greatly helped me do what I needed. :) Hopefully it will come in handy for someone else in the future as well.

Thanks again!
Fezroux
Registered User
Posts: 64
Joined: Thu Dec 14, 2017 7:41 am
Location: US