Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Thientran

    (@thientran)

    Hi Bill,
    I’ve found class of features on front is “.feature” and column 1 is “.first”. So i can give features on front and column 1 some CSS code.
    But what’s class base on column 2?

    Plugin Author Bill Erickson

    (@billerickson)

    Assuming you only have two features, you could style the second one with .feature and the first one with .feature.first (overriding the second one’s styles).

    If you have more rows than that, you’ll need to add a filter to the Body Class in your themes’ functions.php that adds whatever classes you like at certain areas.

    Let’s say that you have 4 features (so 4 rows) and 4 teasers (2-up, so 2 rows). You might do something like this:

    https://gist.github.com/4319329

    Hope that helps

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘grid loop styling’ is closed to new replies.