-
▼
2013
(302)
-
▼
August
(33)
- How to Install WordPress on a Web Server
- How to Import a Static Site Into WordPress
- How to Export a WordPress Blog to Excel
- How to Add StumbleUpon to WordPress
- How to Remove the Space Between the Widgets Sideba...
- How to Install Themes for Your Wordpress Blog
- How to Import RSS to WordPress
- How to Export Blogger to Wordpress SSL
- How to Merge a Blogger Blog Into WordPress
- How to Remove Avatars on WordPress
- How to Check Page Views on a Wordpress Blog
- How to Design a Custom Blog Using Wordpress
- How to Hide a WordPress Under Construction
- How to Have Columns in a WordPress Post
- How to Hide the Header, Title Description in Word...
- How to Disable WordPress Core Update Plugin
- How to Install Flash Photo Gallery on WordPress
- How to Hide Warnings on WordPress
- How to Create a Blog With Only a Username Account ...
- How to Use Undefined Constant Descriptions in Word...
- How to Install Wordpress On 1and1 Servers
- How to Remove the Search Bar in Wordpress
- How to Add Blog Posts in WordPress From My BlackBerry
- How to Create Articles From an Email WordPress Plugin
- How to Edit WordPress Mastheads
- How to Delete Settings in WordPress Plugins
- How to Embed WordPress.tv Videos in a WordPress Blog
- How to Insert a Blog Into Your WordPress Blog
- How to Change the Title Tags in Categories in Word...
- How to Include Code Samples in a Wordpress Post
- How to Create a Sales Page in WordPress
- How to Connect WordPress to YouTube
- How to Insert an iFrame Into WordPress
-
▼
August
(33)
adsense
How to Remove the Space Between the Widgets Sidebar in WordPress
1. Visit your WordPress blog in a browser and right-click to select 'View Page Source.' Find your widgets in the code and look for the class name they share:
Many themes use 'widget' in the class name, as shown in the example above.
2. Log in to WordPress and navigate to 'Appearance' from the sidebar on the left. Load the Edit Themes screen by clicking the 'Edit' link. After you load the screen, the style.css file you need will display in the editor box.
3. Read through your style.css code and look for any styles that reference the class used by your widgets, such as the following:.widget {padding: 10px 20px;margin: 20px auto;}
4. Edit the values of the margin properties as needed. Because widgets stack one on top of the other in a sidebar, edit the vertical values of the margins. When dealing with such CSS shorthand as 'margin: 10px 20px;' (instead of 'margin-left: 20px;'), edit the first value. In the example, margin will become 'margin: 0px 20px,' which will remove any space on the top and bottom of the widget, between it and other widgets. When dealing with 'margin: 10px 20px 10px 20px,' change the second and fourth value to zero pixels. The four margin values in this case go clockwise around the edges of the widget, starting with the top.
5. Make the same changes to the padding properties as you did to the margin properties. Values work the same way in both property types, so their order is the same. The difference between margins and padding is that margins will set the space between widgets while padding sets space inside the widget. Often the visual effect of the two properties is the same, except when a widget has a background color. Leave padding alone if you want to maintain the space between the edge of the widget and its contents.
3:38 AM | Filed Under | 0 Comments
Comments
Popular Posts
-
1. Log in to your Weebly account. 2. Click 'Theme Editor.' 3. Click on the 'Design' tab. 4. Select 'Edit CSS/HTM...
-
1. Sign up for a publisher account at Bidvertiser. Submit basic contact information and confirm your email address to get started. 2. Lo...
-
1. Log in to your WordPress dashboard. 2. Open the 'Appearance' section on the left side of the WordPress dashboard and then cli...
-
Facebook Widget 1. Create a Facebook fan page for your blog, if you don't already have one. You will have to manually share content wi...
-
1. Open your WordPress Dashboard in your preferred browser. It is accessed at the '/wp-admin' location of your site. For example, ...
-
1. Download and install the WordPress for BlackBerry app via BlackBerry App World. Download the version that corresponds with your BlackBe...
-
1. Go to your WordPress blog's administrative control panel. 2. Click the 'Settings' button on the left-side navigation menu...
-
1. Click the 'Add Contact' button on the 'Add New Post' page. This opens the 'Add a Contact Form' page. 2. Click...
-
1. Register an account with Amazon Web Services Cloud. If you have an existing Amazon account, enter your email address in the appropriate...
-
1. Log into your WordPress.com account using your user name and password. 2. Hover your cursor over the 'My Blogs' tab at the to...
Post a Comment