Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialSuli S
1,475 PointsCSS and wordpress
Hi
Is the CSS foundation course available here in Treehouse is enough to play with the CSS of Worpress or are there more advanced CSS in Wordpress?
6 Answers
Kevin Korte
28,149 Pointscss isn't tied to wordpress. It would be enough to get you going with wordpress though.
Kevin Korte
28,149 PointsIt should cover them all yes.
Suli S
1,475 PointsHow did you know? Did you have a loot at WordPress CSS before? :)
Kevin Korte
28,149 PointsI've been through the CSS here and I am developing multiple wordpress sites right now.
Suli S
1,475 PointsThanks Kevin. let us see some of your works:)
Paul Graham
1,396 PointsIf you want to learn about CSS in CMS systems, you simply need to learn and apply CSS best practices. You'd be best to start with something like OOCSS to learn how to properly compartmentalize your CSS code.
http://teamtreehouse.com/library/treehouse-workshops/css-best-practices http://coding.smashingmagazine.com/2011/12/12/an-introduction-to-object-oriented-css-oocss/
Kevin Korte
28,149 PointsHere is a wordpress site I'm developing for a friend who owns a gym. The logo I did not design, that is his. But I thought this is a good example of what CSS can do. Multiple backgrounds, repeating patterns, gradients, thick border with different colors, etc.
Suli S
1,475 PointsGood work.
Suli S
1,475 PointsBy the way, How did you learn to make WordPress themes?
Paul Graham
1,396 PointsThe codex is your best friend.
If you're looking for a book, this one is the best: http://amzn.to/1fv5ygf
Suli S
1,475 PointsSuli S
1,475 PointsHow comes? How WordPress controls its presentation then without CSS?
Kevin Korte
28,149 PointsKevin Korte
28,149 PointsNo every webpage is/should be using CSS. What I meant was is that CSS in wordpress is not different/special or unique to CSS of a non-wordpress site. Is that more clear?
And I think the CSS lessons here are some of the most complete and through of the bunch.
Suli S
1,475 PointsSuli S
1,475 PointsYes I got it. But What I was asking whether the CSS selectors available at CSS course here will cover all the selectors in WordPress themes or will I find CSS selectors in WordPress that were not mentioned here?
Christopher Wulff
3,011 PointsChristopher Wulff
3,011 PointsSuli, the post_class and body_class functions in WordPress will give you a pile of classes that will make it easier to manipulate with css. Inspect element on any WordPress site and you'll find all kinds of extra classes all over the place. The selectors and properties available in CSS aren't affected by WordPress.
Kevin Korte
28,149 PointsKevin Korte
28,149 PointsI'll add to what Chris said, my favorite too right now to inspect code is the Firebug add-on in Firefox browsers. Super easy and convenient.