Can anyone tell me what these 2 items are for in Prosilver responsive CSS

For support and discussion related to templates, themes, and imagesets in phpBB 3.2.
Post Reply
Jodi-86
Registered User
Posts: 44
Joined: Thu Nov 30, 2017 10:04 pm

Can anyone tell me what these 2 items are for in Prosilver responsive CSS

Post by Jodi-86 » Sat Jan 13, 2018 12:43 am

Hi, in the prosilver responsive CSS style sheet, can anyone tell me what these 2 items are for

The line original line:

Code: Select all

.cp-main .forabg, .cp-main .forumdb, .cp-main .post, .cp-main .panel {
border-radius: 7px;
}
But i've removed the panel and post items, so it's just:
.cp-main .forabg, .cp-main .forumdb {

I've looked through the control panel but can't find what corners they control, Is forumdb meant to be bg?

Thanks

User avatar
Christian 2.0
Former Team Member
Posts: 4414
Joined: Wed Nov 04, 2009 11:16 pm
Location: UK
Name: Christian
Contact:

Re: Can anyone tell me what these 2 items are for in Prosilver responsive CSS

Post by Christian 2.0 » Sat Jan 13, 2018 1:29 am

Hi Jodi,

Weird one. .cp-main is used in MCP and UCP, but there isn't a scenario where .forabg or .forumdb classes are used on those pages.

This looks like redundant code and can probably be safely deleted.

Jodi-86
Registered User
Posts: 44
Joined: Thu Nov 30, 2017 10:04 pm

Re: Can anyone tell me what these 2 items are for in Prosilver responsive CSS

Post by Jodi-86 » Sat Jan 13, 2018 3:51 am

Hey Christian thanks for that you're a star :-)

User avatar
Lumpy Burgertushie
Registered User
Posts: 63327
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Can anyone tell me what these 2 items are for in Prosilver responsive CSS

Post by Lumpy Burgertushie » Sat Jan 13, 2018 6:08 am

not only that but I checked all the files and the only place you find forumdb is in that responsive.css file.
the only place you find forabg is one time in forumlist_body.html
strange.

robert
I am available for custom work on a donation basis. Please send me a PM with your needs.
Premium phpBB 3.2 Styles by PlanetStyles.net

User avatar
david63
Jr. Extension Validator
Posts: 13383
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Can anyone tell me what these 2 items are for in Prosilver responsive CSS

Post by david63 » Sat Jan 13, 2018 9:13 am

Probably "legacy" code that has not been removed - I bet if you looked hard enough you would find plenty more, Things like this should be reported in the bug tracker for action.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
Hanakin
Infrastructure Team Member
Infrastructure Team Member
Posts: 593
Joined: Wed Dec 30, 2009 8:14 am
Name: Michael Miday
Contact:

Re: Can anyone tell me what these 2 items are for in Prosilver responsive CSS

Post by Hanakin » Sat Jan 13, 2018 2:01 pm

yes but make sure to scrub the js files as there is alot of bloat that is due to some bad responsive js hacks that inject classes and from the naming its sounds like they would be related to the mcp

Post Reply

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

Who is online

Users browsing this forum: No registered users and 8 guests