Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
requests-topic
Classes for common tags
Avatar
dudieboy
Rookie
Free Members
sp_UserOfflineSmall Offline
Jan 20, 2011 - 2:08 pm

This might be more of a bug report, but I'm having a devil of a time with theme styling conflicts. For instance, if you look at the bottom of my forum at danbirew.com/forum you'll notice that the dark style I'm using causes the sfstatstrip to disappear. It's there, but you have to select the page or section to see the forum stats. In examining the elements I find that common tags without classes are being used, such as tbody and p. Without paragraph and table body classes, I can't fix the color of the text (change it to white) without altering the look of tbody and p throughout the theme. Make sure the forums aren't using general tags without classes, that way style creators and editors can have total control over the elements.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 20, 2011 - 2:42 pm

All the forum stats are assigned table classes and all of the individual stats items are in spans that are again assigned classes. Am I missing something?

andy-signature.png
YELLOW
SWORDFISH
Avatar
dudieboy
Rookie
Free Members
sp_UserOfflineSmall Offline
Jan 20, 2011 - 6:18 pm

Here's a screencap of me inspecting an element where the text has reverted from white to black, effectively vanishing it:

Image Enlarger

Because the element is formatted between p tags without a class, the theme reverts it from white to black automatically. I can add a class to p tags with a child theme, but then all of the p text throughout my entire site would be changed from black to white, which might not be ideal on other pages. If the source code were "p class='sfmostusers'" or something to that effect, then I could control the color of that text in a child theme... or actually, I wouldn't have to.

The main problem is the theme I'm using and the forum I'm using both trying to style p tags at the same time. I realize I could rewrite my theme or rewrite the code of simple:press, but then every time there's an update I'd have to do it again. If I can convince you to add classes to all your p tags and also convince the theme writer to do the same, so that neither of you were claiming all p tags, then twice as good. [Image Can Not Be Found]

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 21, 2011 - 3:57 am

yes - I can see something is amiss down there now I have looked closer. Apologies for that.

andy-signature.png
YELLOW
SWORDFISH
Avatar
dudieboy
Rookie
Free Members
sp_UserOfflineSmall Offline
Jan 21, 2011 - 12:49 pm

No need to apologize! I'm just grateful I could point out something and help. [Image Can Not Be Found]

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17366
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626