Change the background colour of pinned topics

For support and discussion related to templates, themes, and imagesets in phpBB 3.2.
Post Reply
new.new
Registered User
Posts: 59
Joined: Sun Aug 12, 2018 9:53 am

Change the background colour of pinned topics

Post by new.new »

Is it possible to change the background colour of pinned topics?

Something like that (sorry fo the shitty image but i think it gives an idea):

Image

If it's possible, I'd like to change it only in the topic listing where browsing the forum, and not in "unread post" listing and other pages.
User avatar
Mannix_
Registered User
Posts: 1838
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt
Contact:

Re: Change the background colour of pinned topics

Post by Mannix_ »

should be simple by just adding this to colours.css

Code: Select all

.row.sticky {
    background-color: your color;
}
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!
new.new
Registered User
Posts: 59
Joined: Sun Aug 12, 2018 9:53 am

Re: Change the background colour of pinned topics

Post by new.new »

It worked, thanks.
Is there some documentation where i can find what code is needed to change the color of a part of the layout? So i don't have to open a new topic every time.
User avatar
Lumpy Burgertushie
Registered User
Posts: 69223
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Change the background colour of pinned topics

Post by Lumpy Burgertushie »

use the built in code inspector in your browser. right click on a certain part of the page and choose "inspect element" or whatever your browser uses.

that will open a window that should show the html on the left and the css on the right. it should show you what css file the are you are interested in is in.


robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
Post Reply

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