• 1) If I am just using static pages, no blog whatsoever, can I remove the loop from my code (just so there’s less code to wade through?)

    2) I understand how to find and change things in a theme’s style.css, but I’m not sure what to do when there is nothing to change. For instance I want to apply a background color to my sidebar. I can find the sidebar content, li’s, text, etc. but there doesn’t seem to be any mention of the sidebar itself to apply a background, so the sidebar content just sits on top of the same #fff as the body. Sorry for the stupidity, what else can I look for?

Viewing 1 replies (of 1 total)
  • 1) The static page is displayed using the loop. That is why there is a loop in the page page.php If you remove it the page won’t display (The loop runs exactly once)

    2) You add a new CSS section for the sidebar by itself. Such as
    #sidebar { background-color: #123456; }
    It would make sense to add that near the existing entries that start with #sidebar

Viewing 1 replies (of 1 total)

The topic ‘Two newbie questions’ is closed to new replies.