[SOLVED] Styling the topic icons

For support and discussion related to templates and themes in phpBB 3.3.
User avatar
Stoker 4.0
Registered User
Posts: 1610
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen

[SOLVED] Styling the topic icons

Post by Stoker 4.0 »

Hello,

Hope someone can help me style the topic icons
This does not work:

Code: Select all

dl.row-item dt img {
	//code here
}
Last edited by _Vinny_ on Tue Feb 04, 2025 2:47 pm, edited 2 times in total.
Reason: Topic icon changed
~ The greatest achievement in life is to inspire ~
Regards Stoker
User avatar
Mannix_
Registered User
Posts: 2063
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt

Re: Styling the topic icons

Post by Mannix_ »

what code did you try to use there? it should be working
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
Stoker 4.0
Registered User
Posts: 1610
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen

Re: Styling the topic icons

Post by Stoker 4.0 »

To be sure I testet with this:

Code: Select all

dl.row-item dt img {
	display:none !important;
}
and the topic icons stil display
~ The greatest achievement in life is to inspire ~
Regards Stoker
User avatar
Mannix_
Registered User
Posts: 2063
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt

Re: Styling the topic icons

Post by Mannix_ »

Ok can you post a link and tell us exactly which part you want to edit. Because if it's about your site and you refer to a bell icon for example the proper selector to use would be

Code: Select all

dl.row-item dt i {
	display:none !important;
}
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
Stoker 4.0
Registered User
Posts: 1610
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen

Re: Styling the topic icons

Post by Stoker 4.0 »

https://phpbb3bbcodes.com/viewforum.php?f=41
Check the 2. topic

I took the code from your cleansilver theme, to replace the old imageset images.
So far so good. The FA icons looks nice.
But the topic icons are not the top layer like on your theme.
I guess it could be because its used in an EXT and not a style.
I use several code and style changes in an EXT so updating is easy.
~ The greatest achievement in life is to inspire ~
Regards Stoker
User avatar
Mannix_
Registered User
Posts: 2063
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt

Re: Styling the topic icons

Post by Mannix_ »

ahhhhhh i see now you should have mentioned that in your post use this

Code: Select all

dl.row-item dt {
  position: relative;
}
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
Stoker 4.0
Registered User
Posts: 1610
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen

Re: Styling the topic icons

Post by Stoker 4.0 »

Great, that was the solution.
Thank you
~ The greatest achievement in life is to inspire ~
Regards Stoker
User avatar
Stoker 4.0
Registered User
Posts: 1610
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen

Re: Styling the topic icons

Post by Stoker 4.0 »

Stoker 4.0 wrote: Tue Feb 04, 2025 12:25 pm Great, that was the solution.
Thank you
Except lastpost link no longer work :D
~ The greatest achievement in life is to inspire ~
Regards Stoker
User avatar
Mannix_
Registered User
Posts: 2063
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt

Re: [SOLVED] Styling the topic icons

Post by Mannix_ »

ok also add this

Code: Select all

dd.lastpost > span > :not(dfn) {
  position: relative;
  z-index: 2;
}
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
Stoker 4.0
Registered User
Posts: 1610
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen

Re: [SOLVED] Styling the topic icons

Post by Stoker 4.0 »

Thanks again. That did it.
~ The greatest achievement in life is to inspire ~
Regards Stoker

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