Help please with restyling the Carbon Style

For support and discussion related to templates and themes in phpBB 3.3.
Post Reply
User avatar
WDUK
Registered User
Posts: 63
Joined: Fri Jun 04, 2021 3:24 pm
Location: England
Contact:

Help please with restyling the Carbon Style

Post by WDUK »

Hi,

I have chosen the Carbon style but am altering the colours and images etc.

I'm no coder so I am slowly inspecting the elements I want to modify and then making the changes in the css files on my desktop. Then uploading them. So far this is working well.

However, I have a colour that I want to change but it inherits from elsewhere. And where it inherits from I want to keep that colour.

html, body {
color: #666666;

As that appears to be the body text colour.

How can I change the inherited colour to white just for these sections?
Screenshot 2021-06-08 at 14.57.22.png
Thanks in advanced :)
Last edited by WDUK on Wed Jun 09, 2021 6:32 pm, edited 1 time in total.
User avatar
Mannix_
Registered User
Posts: 1838
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt
Contact:

Re: Restyling the Carbon Style

Post by Mannix_ »

Just overwrite the inheritance with proper selector. Play with inspect element and see which selector will be the most appropriate.
Did I helped You? Consider a donation.
New version of phpBB has been released? My styles aren't validated for it yet? Check my page for the latest downloads!
User avatar
WDUK
Registered User
Posts: 63
Joined: Fri Jun 04, 2021 3:24 pm
Location: England
Contact:

Re: Restyling the Carbon Style

Post by WDUK »

Mannix_ wrote: Tue Jun 08, 2021 2:21 pm Just overwrite the inheritance with proper selector. Play with inspect element and see which selector will be the most appropriate.
Sorry but I don't know what that means :?
User avatar
WDUK
Registered User
Posts: 63
Joined: Fri Jun 04, 2021 3:24 pm
Location: England
Contact:

Re: Restyling the Carbon Style

Post by WDUK »

As I said above I'm no coder, so could still use some help if anyone can? :)
User avatar
warmweer
Jr. Extension Validator
Posts: 11234
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

Re: Restyling the Carbon Style

Post by warmweer »

WDUK wrote: Wed Jun 09, 2021 6:28 pm As I said above I'm no coder, so could still use some help if anyone can? :)
Use your browser's Inspector. Identify the part you want to edit (using the mouse), and in the inspector area you'll see which css files affect your selection. Then edit the colour, em, font-size, whatever in the inspector screen until you get it the way you want it to be. Then write down exactly what you edited and when you've finished, apply those edits to the correct css-files, clear board cache (you might also have to clear browser cache) and see the end result.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
User avatar
Mannix_
Registered User
Posts: 1838
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt
Contact:

Re: Help please with restyling the Carbon Style

Post by Mannix_ »

Did I helped You? Consider a donation.
New version of phpBB has been released? My styles aren't validated for it yet? Check my page for the latest downloads!
User avatar
WDUK
Registered User
Posts: 63
Joined: Fri Jun 04, 2021 3:24 pm
Location: England
Contact:

Re: Help please with restyling the Carbon Style

Post by WDUK »

Many thanks to both of you :)
Post Reply

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