Timeline for Targeting a Certain Post in Loop (CSS)
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 23, 2012 at 17:28 | comment | added | Mario88 | Accepted your answer Tom, thank you very much :) Still have problem with the h2 tag, but each post gets custom class now. | |
Jul 23, 2012 at 17:27 | vote | accept | Mario88 | ||
Jul 23, 2012 at 17:03 | comment | added | Mario88 | I'm not sure.. as I said, I don't know much about PHP but I think it (the class) should begin with 0 (the way array counting), just like you said. But now, the first box got column-1, the second= column-2 and the third= column-0. Now it seems that h2 tag (CSS - it is, but somehow I can't style it) does not apply to the third column (0) while it works for the first and second column. | |
Jul 23, 2012 at 15:59 | comment | added | Tom J Nowell♦ | Your CSS may be wrong, but are the classes turning up as expected? | |
Jul 23, 2012 at 15:38 | comment | added | Mario88 | I am trying it now, just modified the loop and the CSS, still no luck but I believe I am on the right track, thank you. | |
Jul 23, 2012 at 14:49 | history | answered | Tom J Nowell♦ | CC BY-SA 3.0 |