[HELP] How to automate resizing the website according to the browser ?

vinayamb25

Registered Member
Joined
Nov 14, 2010
Messages
83
Reaction score
1,365
Hi,
I am working on wordpress theme, Guesthouse theme from themeforest to be specific and I want the website's width to resize itself automatically according to the user's screen resolution.

How can I do that?

P.S. I am a coding noob.
 
Hi,
I am working on wordpress theme, Guesthouse theme from themeforest to be specific and I want the website's width to resize itself automatically according to the user's screen resolution.

How can I do that?

P.S. I am a coding noob.

Use dynamic resizing in CSS, i.e. instead "width:640px" use "width:90%".
 
Use dynamic resizing in CSS, i.e. instead "width:640px" use "width:90%".

Ok, there are lots of parameters named "width" in there, for headers, for sliders etc etc. Which one should I change to resize the complete page or do I have to change each and everyone individually?
 
Ok, there are lots of parameters named "width" in there, for headers, for sliders etc etc. Which one should I change to resize the complete page or do I have to change each and everyone individually?

Each and everyone individually. They are all relative, i.e. width:90% DIV inside width:90% DIV will be sized as:

90% * 90% = 81%
 
Thanks lancis, will try it. +rep given.
 
Install Firebug on your mozilla, in this way will be more easy to determine what exactly code is for a part of website.

Good luck
 
Back
Top