Editing Stylesheet of your theme:
- To allow your to automatically adjust with different resolution desktop so that can experience a better site.1. Go to WordPress dashboard of your site and then, Appearance-> Editor
2. Here you will see the Style sheet of your site written in CSS language. Now, scroll in the Stylesheet.css window and find "#wrapper" or "#container"text. It adjust the maximum width of your site or it wraps your site according to the different size of desktop.
.wrapper { margin: 0 auto; max-width: auto; width: 77%; }OR
#container { max-width:auto; // 960px or auto width: 82%; // Specify according to your need margin: 0 auto;3. In above, code you can change margin to auto so that it can adjust automatically. Next, define max-width of your site. Usually, it is 960px or you can set auto so that it configure the resolution of the desktop and set the site accordingly. Now, width of site has to be set. You can use % of max-width like i have set 77% of 960px.
You can also set the same for phone and tablets screens. These changes are given at the end of your Style sheet.
Comments
Post a Comment