Saturday, April 12, 2014

How to Change the Spacing After Removing the Sidebar in WordPress



1. Log in to WordPress and select 'Editor' from the 'Appearance' theme. Click the 'Stylesheet.css' file.

2. Scroll down to 'Content.' Peruse the sub-division for the name of the 'div' that bordered the side bar when you had it on the page. If the sidebar sat on the right, this is likely to be 'contentleft;' while if you deleted a sidebar that was on the left side of the page, the div in question was 'contentright.'

3. Open the 'page.php' file. Scroll down to the element that specifies parameters for the div you need to change, be it or and add the follow element within the brackets:style='width: 920px;'So that it looks like this:Click 'Save.'

4. Click 'Save.' Open the blog in a new window or tab to see that the main section of the page now occupies its entire width.

No comments:

Post a Comment