Second Sidebar request
Support Area › Forums › Foxy › Second Sidebar request
Tagged: Second Sidebar
- This topic has 8 replies, 2 voices, and was last updated 12 years, 4 months ago by Bill Robbins.
-
AuthorPosts
-
December 19, 2011 at 11:03 #4412Mizu DesiertoParticipant
Greetings….
I am wondering if it might be possible to add a sidebar to the right side of this theme as well? As I am working on it, and wanting to use more widgets, it would be really helpful to have another sidebar option for contact info., etc.Is there a simple code I could insert to have add this capability?
December 19, 2011 at 11:36 #4417Bill RobbinsModeratorOne of the great things about WordPress is you can do just about anything you’d like to with it. You can add a second sidebar with a bit of modifying the theme. Here’s what you’ll need to do.
- Go to the appearance section and select edit to open up the theme editor
- From the list of files on your right, choose functions.php
- Look for this spot:
and right above it, paste this:
- Save your changes
- Next open up footer.php and paste this right below </div><!– Close Wrap –>
- Save your changes.
- Last file, edit style.css and scroll down to the very bottom and paste this:
aside#page-right {
position: absolute;
right: 0;
top: 140px;
}aside#page-right .widget {
width: 200px;
background-color: transparent;
background-color: rgba(0, 0, 0, 0.84);
padding: 10px;
} - Save your changes
That should add a sidebar that is now attached to the right hand edge of your screen.
I hope that helps. Merry Christmas
December 19, 2011 at 12:12 #4420Mizu DesiertoParticipantBill!
Thank you so much. I love working with your theme and so appreciate your support.
I followed your directions above (and double-checked the work), however, something is a little off. Although my Widget page says there a right sidebar, whatever I put in the bar shows up at the bottom of the page in a format that is not very usable. Here is a link to the site for you to see what is happening.Any suggestions?
December 19, 2011 at 12:31 #4421Mizu DesiertoParticipantHi Bill, sorry to be the annoying client on a week of holiday….
Something else seemed to happen after attempting to add the right sidebar—I went to upload new photos for the slideshow, staff and service pages. They are really high quality photos but they are coming up now really pixelated. Everything I put in before is fine, it only seems to be affecting anything new that I upload. Some of these photos I had played with before changing the sidebar and they looked great. Is there a reason that the changes would have affected the photo quality?…..Thanks so much.
December 19, 2011 at 12:35 #4422Bill RobbinsModeratorHere’s one possibility for the images being pixilated. When you upload an image, there are several radio buttons for image sizes that WordPress creates automatically. Make sure to select the full size one. That way the background image script won’t try using too small of an image to fit into the background.
I’ll take a look at the positioning of the sidebar in just a bit.
December 19, 2011 at 12:42 #4423Mizu DesiertoParticipantyeah, I have them all set to full size and they are large photos. Like I said before, they were uploading fine with a really nice quality until I changed the html. it is bizarre.
I will keep playing around with it.
December 19, 2011 at 13:00 #4424Mizu DesiertoParticipantok. I got that glitch figured out. The photos are fine. I must have uploaded a couple of them smaller. Let me know whenever you get a chance to check out the sidebar issue.
Thanks again!
December 19, 2011 at 15:20 #4426Mizu DesiertoParticipantHey Bill. Great News. I’m not sure what happened, but after going out on a hike and rebooting my site, the new side bar works beautifully! Thank you so much!!!!!
December 19, 2011 at 15:28 #4427Bill RobbinsModeratorThat’s great news. Let me know if you need anything else.
-
AuthorPosts
- The topic ‘Second Sidebar request’ is closed to new replies.