Prosilver Width - Fit to screen - prosilver Special Edition
Prosilver Width - Fit to screen
Hi. I have a problem editing my common.css file and am looking for some help.
The width of my prosilver template can't be reduced. If I zoom out, the width automatically fits to the screen even if I change the width to 1 pixel. Editing the pixel width in the #wrap portion in common.css doesn't seem to help.
What can I do so my prosilver theme/template has a fixed width?
Edit: Problem solved by refreshing my template under styles and editing the css file with margin-left: auto and margin-right: auto.
The width of my prosilver template can't be reduced. If I zoom out, the width automatically fits to the screen even if I change the width to 1 pixel. Editing the pixel width in the #wrap portion in common.css doesn't seem to help.
What can I do so my prosilver theme/template has a fixed width?
Edit: Problem solved by refreshing my template under styles and editing the css file with margin-left: auto and margin-right: auto.
-
- Registered User
- Posts: 5
- Joined: Thu Jul 25, 2013 1:57 pm
Re: Prosilver Width - Fit to screen
Can you please tell me how to do that?
Thanks a lot in advance.
Thanks a lot in advance.
-
- Registered User
- Posts: 15
- Joined: Wed Dec 10, 2014 2:50 pm
Re: Prosilver Width - Fit to screen
If you want to force fixed width and remove responsive layout, remove this line from overall_header.html:
then open stylesheet.css, findand change max-width to width
then remove this:
But its a bad idea. Those changes will make style look bad on small devices, such as mobile phones.
Code: Select all
<link href="{ROOT_PATH}styles/prosilver/theme/responsive.css?assets_version={T_ASSETS_VERSION}" rel="stylesheet" media="only screen and (max-width: 700px), only screen and (max-device-width: 700px)" />
Code: Select all
#wrap {
max-width: 850px;
Code: Select all
#wrap {
width: 850px;
then remove this:
Code: Select all
/* responsive.css changes */
@media only screen and (max-width: 920px), only screen and (max-device-width: 920px) {
html, body {
background-color: #FFF;
}
body {
padding-left: 5px;
padding-right: 5px;
}
#wrap {
width: 850px;
padding: 0;
border-width: 0;
border-radius: 0;
box-shadow: none;
}
}
@media only screen and (max-width: 860px), only screen and (max-device-width: 860px) {
#wrap {
width: auto;
}
}
But its a bad idea. Those changes will make style look bad on small devices, such as mobile phones.
Vjacheslav Trushkin / Arty.
Free phpBB 3.1 styles | New project: Iconify - modern SVG framework
Free phpBB 3.1 styles | New project: Iconify - modern SVG framework
-
- Former Team Member
- Posts: 16654
- Joined: Wed Mar 06, 2002 2:36 pm
- Name: Vjacheslav Trushkin
Re: Prosilver Width - Fit to screen
Thanks a lot
-
- Registered User
- Posts: 15
- Joined: Wed Dec 10, 2014 2:50 pm
Re: Prosilver Width - Fit to screen
This is a really early edit./ Does anyone have the latest Prosilver width instructions.
I've edited common.css and a whole batch of other pages. I know thst wound vague but the wiodth WILL NOT span 100% of the screen.
Where can I find the command
"<style type="text/css">
#wrap {
max-width: 1152px; !important;
}"
I see this in the processed index.html page.
But I dont find it in any file.
I simply need Prosilver to span 100% of the page. Squinched up in the middle third is riddiculous to me...
I've edited common.css and a whole batch of other pages. I know thst wound vague but the wiodth WILL NOT span 100% of the screen.
Where can I find the command
"<style type="text/css">
#wrap {
max-width: 1152px; !important;
}"
I see this in the processed index.html page.
But I dont find it in any file.
I simply need Prosilver to span 100% of the page. Squinched up in the middle third is riddiculous to me...
-
- Registered User
- Posts: 106
- Joined: Sun Mar 25, 2007 2:26 am
- Location: Oxford UK / Aix France.
- Name: Neil Armstrong
Re: Prosilver Width - Fit to screen
Just edit theme/stylesheet.css and alter max-width to 96%:
Cheers Tom
Code: Select all
.wrap {
/* max-width: 850px; */
max-width: 96%;
margin: 0 auto;
padding: 13px 23px;
border: 2px solid #FFF;
border-radius: 15px;
box-shadow: 0 0 5px 2px #9D9A93, inset 0 3px 18px rgba(100, 100, 100, .25);
}
-
- Registered User
- Posts: 17
- Joined: Wed Nov 26, 2014 11:50 pm
- Location: Luneburg, Germany
- Name: Thomas
Re: Prosilver Width - Fit to screen
Thanks Tom. That DID work I just never got back to you.
-
- Registered User
- Posts: 106
- Joined: Sun Mar 25, 2007 2:26 am
- Location: Oxford UK / Aix France.
- Name: Neil Armstrong