Dude

Posted in: Newspaper
Post count: 7

Good afternoon, I have a question.
Can you change style by categories? That is, if I put a post normally be displayed style and if I put a post out another style sports.
Thanks

Post count: 9544

I don’t think so, dude. The “themes” included are one big style sheet (CSS) with all the sizes, colors, etc.

In theory, you could create a custom template for a single category per the docs on wordpress.org, and then have that single theme load the OTHER style sheets.

Post count: 7

Thanks Chris S, but what I like to do is change your demos by category.
For example, for the category Blog “Classic Blog demo” for the travel category “Travel demo” for the sports category “Sport demo”

Post count: 9544

Hi, not my theme … but basically, no — again, the entire site loads ONE set of styles such as “travel.”

If you want ONE category to load entirely different set of styles, like “sports,” you would likely need to create a custom template for the category you want to use the different “style” — eg. category-sports.php and then edit that to load the styles from the CSS folder for “sports” instead of “classic blog” …

If that makes no sense, you’d likely need to hire a developer 🙂

TagDiv may have better “official” answer, but that’s how most themes like this work with pre-built style “sets.”

Post count: 22421

Hi,
There is another way to do it, but it involves creating as many sub-domains as categories and install the theme on every sub-domain with different demos installed and then create redirects for each category to the specific sub-domain. Kind of a pain, but unfortunately there is no easy solution for it.
I hope this helps.
Thank you!

Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.