Possible to make adaptive style?

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Anti-Spam Guide
Locked
User avatar
kenno
Registered User
Posts: 81
Joined: Sun Apr 09, 2006 10:54 am
Location: Estonia
Contact:

Possible to make adaptive style?

Post by kenno »

Hi!
http://www.phpbb.com/styles/demo/3.0/?style_id=47
This style. I want to make it adaptive (width: 100%;) so that every user can have maximum size of board with different resolutions. Is it possible to do it with div tags? Or can it be done only with tables?
Thanks!
User avatar
Lumpy Burgertushie
Registered User
Posts: 68114
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Possible to make adaptive style?

Post by Lumpy Burgertushie »

common.css
find this :

Code: Select all

#header-bg {
	width: 804px;
	height: 141px;
	margin: auto;
}

#wrap-bg {
	width: 804px;
	margin: auto;
}

#wrap {
	padding: 0;
	width: 780px;
	margin: auto;
}
tweak those widths

take note that the backgrounds are images and may or may not work if you expand the divs they are in.

you can't adjust image widths without distorting them.

therefore, if the background images are what you like about this style, then doing this will ruin it.


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If nobody is in the forest, does a tree really fall?
User avatar
kenno
Registered User
Posts: 81
Joined: Sun Apr 09, 2006 10:54 am
Location: Estonia
Contact:

Re: Possible to make adaptive style?

Post by kenno »

Okay, don't mind the bg images now and change those css values to do it adaptive.
Locked

Return to “[3.0.x] Styles Support & Discussion”