css for menu on non sidebar pages (2 posts)

  1. Rob Poitras
    Posted 11 years ago #

    Im working on some page templates. Instead of using the get sidebar snippet, im replacing it with:
    <?php wp_get_links(2); ?>
    which pulls the links of whatever category and displays them on the sidebar area.

    So how can I add some css to it without having to create a ton of extra code and extra files.
    The only solution I can think of is to put the css code in the actual page template file, but im sure their is a cleaner way to accomplish this issue.
    I tried adding the
    <div id="sidebar">
    </div> and putting the code between the tags and that didnt work...

  2. Rob Poitras
    Posted 11 years ago #

    i think i figured it out.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.