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: 57
Joined: Sun Aug 12, 2018 9:53 am

Change the background colour of pinned topics

Post by new.new » Fri Jan 04, 2019 7:41 pm

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: 570
Joined: Sun Oct 25, 2015 2:56 pm
Contact:

Re: Change the background colour of pinned topics

Post by Mannix_ » Fri Jan 04, 2019 8:32 pm

should be simple by just adding this to colours.css

Code: Select all

.row.sticky {
    background-color: your color;
}
-=-=-=-=-=-=-=-=-=-=-=-=-My Styles-=-=-=-=-=-=-=-=-=-=-=-=-
HexagonHexagonRebornCleanSilverProject Durango
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Want me to port a style to 3.2.x etc. contact me here or on twitter.

new.new
Registered User
Posts: 57
Joined: Sun Aug 12, 2018 9:53 am

Re: Change the background colour of pinned topics

Post by new.new » Fri Jan 04, 2019 11:13 pm

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: 66858
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Change the background colour of pinned topics

Post by Lumpy Burgertushie » Sat Jan 05, 2019 12:28 am

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
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

Post Reply

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