WordPress.org

Ready to get started?Download WordPress

Forums

Alternating posting backgrounds (2 posts)

  1. to_ul
    Member
    Posted 7 years ago #

    i tried hard to understand how i can change the background-color of my posting (alternating). untill now i got no success cause i dont understand following
    code (from http://wordpress.org/support/topic/1148?replies=20)

    <?
    if("#EEEEEE" == $bgColor) {
    $bgColor="#DBDBDB";
    }
    else {
    $bgColor="#EEEEEE";
    }
    ?>

    where i have to place it. my within the loop in my index.php?

  2. to_ul
    Member
    Posted 7 years ago #

    noone can help me here?

Topic Closed

This topic has been closed to new replies.

About this Topic