joined:Mar 22, 2007
I'm currently working on the theme for my WordPress site and have to stylize all of the loop's parts (post title, byline, content, "read more" button, etc.), and it's driving me absolutely crazy because everything is set up with different selectors and there's a lot of nested material. I've been trying to target each portion of the loop, but I end up with strange conflicts (links changing size when I simply added some code for them to change color when hovered over, etc.).
The only thing that has been working so far is if I wrap each part of the loop in its own ID as a means of increasing the weight of the styles applied. But is this a bad way of doing it? It feels like a lot of extra code.