Community Forums › Forums › Archived Forums › General Discussion › How do I make sidebar a little wider?
- This topic has 7 replies, 3 voices, and was last updated 12 years, 11 months ago by
AutoHail.
-
AuthorPosts
-
December 8, 2012 at 2:47 pm #3879
AutoHail
MemberCorporate Child Theme & Genesis
How do I make sidebar a little wider?My PayPal widget is cut off a tiny bit. The drop down arrow is cut off.
I would rather make the main area a little smaller than expand the entire site.
Thanks!
http://autohailgroup.com/world-hail-network-automotive-service-directory/
December 8, 2012 at 3:19 pm #3882Susan
ModeratorYou would need to adjust a number of the pieces inside your CSS.
This guide should help you determine what you need to adjust:
December 8, 2012 at 4:11 pm #3885AutoHail
MemberI am not a programmer, I tried changing a bunch of numbers, but none had any affect. I do not want to screw the site up by messing around too much. Thank you though.
December 8, 2012 at 4:18 pm #3886Susan
ModeratorAutoHail - I'm not a programmer, either, but I've done it on my own site with a little experimentation. Let me look at your site's stylesheet and see if I can come up with some specific lines to change 🙂
December 8, 2012 at 4:58 pm #3892Bill Murray
MemberSusan can address the issue of changing your CSS, but you might want to consider modifying your Paypal widget. The drop down takes its width from the items you populate it with. If you dropped the word "Listing" from each of your drop down items, in all likelihood you wouldn't have to change your CSS. Because of the width of your longest entry, you may find the CSS changes that are necessary to fix your problem make your content area too narrow.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
December 8, 2012 at 5:35 pm #3904AutoHail
MemberAdjusted PayPal button. Genius in simplicity. Thank you both very much!
December 8, 2012 at 5:56 pm #3905Susan
ModeratorGlad that helped - definitely easier than adjusting the CSS!
For future reference:
If you find that you can't adjust something within the sidebar, and you want to physically adjust the width of the sidebar, you would look for this in your CSS:
/* Primary / Secondary Sidebars
------------------------------------------------------------ */.sidebar {
background: #f5f5f5;
display: inline;
float: right;
margin: 0 0 20px;
padding: 15px 15px 5px;
width: 250px;
}Replace the 250px with the new width.
Then, you would need to look for this:
/* Content
------------------------------------------------------------ */#content {
float: left;
padding: 10px;
width: 450px;
}.content-sidebar #content,
.sidebar-content #content {
width: 620px;
}and adjust the 620px down by the amount your adjusted the 250 up (a sidebar of 300 px would mean a width of 570 px for the center area.
December 8, 2012 at 5:58 pm #3907AutoHail
MemberGreat! Thanks again
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.