XMB Forum Software
Not logged in [Login - Register]
Go To Bottom

Printable Version  
Author: Subject: [New] CSS Classes on XMB Themes?
DeltaRedSpiker
Member
***




Posts: 5
Registered: 10-23-2016
Member Is Offline

Mood: Happy!

[*] posted on 12-13-2016 at 03:07 PM
[New] CSS Classes on XMB Themes?


Full Board URL: http://totaltopic.101gamers.com/
XMB Version: 1.9.11

Hey,

I want to make several themes for my community and release them - mostly ports of AcmlmBoard themes. However, I want to use CSS - what specific classes and IDs can I use in theme.css to customise the theme design?

Thank you for answering.
View user's profile View All Posts By User
flushedpancake
Member
***


Avatar


Posts: 45
Registered: 4-1-2024
Member Is Offline

Mood: Optimistic

[*] posted on 6-18-2024 at 08:43 AM


This is a really old thread, in fact I'm the original OP of this thread! but I feel like mentioning there's a few (limited) CSS classes scattered around in the templates. I don't remember the exact specifics but they're definitely lurking around, probably from a point in development where they were being worked on briefly. There's a lot of little nuances like this lurking around in here.

Most of the board uses hardcoded bgcolor and other stuff though, which is... pretty limited to work with unless you start resorting to hacking around a TON using selectors and whatnot, which is annoying and unintuitive. (The ABXD theme I made years ago does this a bit.) Not to mention, the scaling on mobile isn't optimised - someone just put a meta viewport in and called it a day (said viewport also only needs the 'width=max-width" thing and nothing more, and it shows. :P

The things I mentioned should really have an associated CSS class attached to it, along with numerous other things that can be styled like .quote, or .post, .error, .topbar, .postbody things like this. I think this also (IIRC) helps on a semantics level too. This might be as simple as doing a find and replace operation in the templates.xmb file, but I'd be weary of breaking things by doing that...

For mobile 'optimisation', simply hiding unneeded elements will work, though the post table might need to be really messed with in order to display properly...



[insert witty quote here]
View user's profile View All Posts By User

  Go To Top

Powered by XMB 1.9.12 (Debug Mode)
XMB Forum Software © 2001-2025 The XMB Group
[Queries: 16] [PHP: 12.1% - SQL: 87.9%]