WordPress.org

Support

Support » Themes and Templates » css for menu on non sidebar pages

css for menu on non sidebar pages

  • 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…

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘css for menu on non sidebar pages’ is closed to new replies.
Skip to toolbar