WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] adding sidebar to all pages (5 posts)

  1. nvolkert
    Member
    Posted 2 years ago #

    I am trying to add my sidebar to all pages and it is not working.. please help.

    I have added <?p<?php get_sidebar(); ?> to my page.php

    and this is my code below in my child theme 2011

    .singular.page .hentry {
       padding: 0;
    }
    .singular .entry-header, .singular .entry-content {
      margin-right: 270px
    }
    .singular .entry-content {
    padding: 0.25em;
    }

    http://www.milkallergyguide.com

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

  3. nvolkert
    Member
    Posted 2 years ago #

    Thanks, I'll give this a try.

    Do you know if it allows you to add different sidebars for different pages? I originally wanted this feature but had too much trouble setting it up and decided to just go with same sidebar every page.

  4. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    to add different sidebars for different pages?

    have a look at another one of my posts: http://www.transformationpowertools.com/wordpress/page-template-sidebar-overwrite-theme-options-twenty-eleven

  5. nvolkert
    Member
    Posted 2 years ago #

    worked like a charm... thanks again

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.