Title: sidebar alignment (sidebar2)
Last modified: August 19, 2016

---

# sidebar alignment (sidebar2)

 *  [graham.guy](https://wordpress.org/support/users/grahamguy/)
 * (@grahamguy)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/sidebar-alignment-sidebar2/)
 * Hello,
 * I am requesting something I don’t have much time to research. Please forgive 
   my css and php ignorance. I am pretty new and very busy with my job with little
   time at the moment to search.
 * Here is what I have done. I have created a new sidebar (sidebar2) in function.
   php or options.php (can’t remember which one), and it appears in the widgets 
   as “sidebar2”. I can click and drag widgets over to it and they work fine.
 * My problem is the alignment. When I use the dynamic call in my index.php to make“
   sidebar2” appear on the homepage, it’s alignment is over on the left (bumping
   everything out of the way), and and I want it on the right, basically.
 * Is it possible to define a RIGHT alignment before the dynamic CALL for sidebar2
   index.php? I didn’t really want to mess around with the style.css, but let me
   know what I need.
 * Again, please forgive me… I am learning and willing to learn. I am here like 
   the rest of you, and do not wish for y’all to tell me to go pick up a book. I
   came here because some of you have quick answers.

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/sidebar-alignment-sidebar2/#post-1341734)
 * You need to sort out your CSS issues within style.css but, without seeing your
   site, there’s very little that people can offer in the way of concrete suggestions.
 *  Thread Starter [graham.guy](https://wordpress.org/support/users/grahamguy/)
 * (@grahamguy)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/sidebar-alignment-sidebar2/#post-1341746)
 * [http://www.accessbiblestudies.com/](http://www.accessbiblestudies.com/)
 * also,
 * you will notice I have a sidebar on the right of the homepage, but it’s sidebar1,
   not sidebar2. sidebar1 doesn’t show the text properly on the homepage, why is
   that? Do you see how the spacing/returns are off compared to other subpages?
 * Thanks for your help esmi.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/sidebar-alignment-sidebar2/#post-1341770)
 * > you will notice I have a sidebar on the right of the homepage, but it’s sidebar1,
   > not sidebar2
 * You need to add `<?php get_sidebar('2');?>` immediately **after** <?php get_sidebar();?
   >` in all relevant template files.
 * > sidebar1 doesn’t show the text properly on the homepage
 * What text where? It looks fine to me.
 * > Do you see how the spacing/returns are off compared to other subpages?
 * Do you mean the margins between list items/links? Of so, try editing style.css
   and changing:
 *     ```
       #othernews li {
       float:left;
       list-style-image:none;
       list-style-position:outside;
       list-style-type:none;
       margin:0 10px 20px 0;
       padding:0 10px 10px;
       width:290px;
       }
       ```
   
 * to
 *     ```
       #othernews li {
       float:left;
       list-style-image:none;
       list-style-position:outside;
       list-style-type:none;
       margin:0 10px 0 0;
       padding:0 10px 10px;
       width:290px;
       }
       ```
   
 *  Thread Starter [graham.guy](https://wordpress.org/support/users/grahamguy/)
 * (@grahamguy)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/sidebar-alignment-sidebar2/#post-1341812)
 * esmi,
 * thanks for your help. i really appreciate it.
 * that worked to some degree. it’s that silly tag cloud that’s not showing properly
   on the homepage. you may notice that it looks correct on any of the subpages,
   but the homepage, _each_ tag is below the other.
 * thanks for your help.
 *  [Wex](https://wordpress.org/support/users/wex/)
 * (@wex)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/sidebar-alignment-sidebar2/#post-1341814)
 * I’d recommend doing a validation check on your HTML. You’d be surprised on how
   many problems this will help you solve. Just taking a glimpse of your source 
   code, I noticed you had two nested divs, both with an id of “sidebar”, which 
   won’t validate. Check this out if you don’t understand what I mean (you have 
   100 errors): [http://validator.w3.org/check?uri=www.accessbiblestudies.com](http://validator.w3.org/check?uri=www.accessbiblestudies.com)
 * I hope that helps..

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘sidebar alignment (sidebar2)’ is closed to new replies.

## Tags

 * [dynamic sidebar](https://wordpress.org/support/topic-tag/dynamic-sidebar/)
 * [sidebar](https://wordpress.org/support/topic-tag/sidebar/)

 * 5 replies
 * 3 participants
 * Last reply from: [Wex](https://wordpress.org/support/users/wex/)
 * Last activity: [16 years, 5 months ago](https://wordpress.org/support/topic/sidebar-alignment-sidebar2/#post-1341814)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
