0
Welcome Guest! Login
0 items Join Now

Background Color in Blog Layout

    • GH's Avatar
    • GH
    • Newbie
    • Posts: 9
    • Thanks: 0

    Background Color in Blog Layout

    Posted 15 years 9 months ago
    • I'm sorry to re-post this but perhaps I dthis question isn't template specific (where I posted before). It's been a couple of weeks with no response so if you could please help, I'd appreciate it.

      I'm using the blog item layout as rows and would like each preview of the article to have a different background color. Right now, it's all white.

      I've looked at the blog_item.php to override it as well as the CSS but I'm not sure where exactly to change it so the colors alternate.

      Here's an image with every story having a gray background:

      img268.imageshack.us/img268/6826/backgrounddfv.jpg

      And what I want to do (alternate the gray and white every other story).

      img36.imageshack.us/img36/1869/alternating.jpg

      Right now, the background of each story is #F8F8F8 (grayish color), which is located under the contentpaneopensection in template_css -- this line:

      .contentpaneopensection {
      width: 100%;
      background: #F8F8F8 0 0 repeat-y;
      }

      What I'm trying to do is make the background of each story alternate between the #F8F8F8 (grayish) color and your basic #FFFFFF white color like the second screen.

      Thank you in advance.

Time to create page: 0.069 seconds