adsense

How to Convert Fixed Width to WordPress Fluid Width





1. Log in to your WordPress admin control panel. Click 'Appearance' from the menu bar on the left, then click 'Editor.'
2. Click 'index.php' from the list of files on the right. These files control the WordPress theme. Scroll down until you find the main
tag that controls the width of the site. This is usually the first
, and is typically called 'wrapper' or 'container.' Note the id of the
, for example: '
.'

3. Click 'style.css' from the list of files. Copy and paste this code into a new file and save it to your computer. Now you have a backup that you can restore in case you make a mistake.
4. Scroll through the file until you locate the name of the main
. To create a fluid width layout, you must alter the 'width' attribute to '100%'. For example, if it is currently listed as 'width:927px;', change it to 'width:100%;'.
5. Click 'Save Changes,' then load your blog in a browser. If your site fills up the full width of your browser window, the conversion is successful. Try making the window smaller, and watch your site shrink to fit.

Comments

0 Responses to "How to Convert Fixed Width to WordPress Fluid Width"

Post a Comment

Popular Posts

About