Code: Select all
#wrap {
padding: 0 20px;
min-width: 650px;
}
Code: Select all
#wrap { width: 1024px; max-width:100%; }
i've enabled Max-width switch extension but nothing found changed. If i've to configure it, from where?P_I wrote: ↑Sat Mar 11, 2017 2:27 pmThe OP might also look at phpBB • Max-width switch - Contribution Details
I've moved to extension mensioned by Kaspir as it changes width for all including guests.The reason is thatkaspir wrote: ↑Sat Mar 11, 2017 9:32 amAllow the user to set it! use this ext, I didn't find on phpbb, but here is authors page, I HIGHLY sugest this authors exts: http://www.dmzx-web.net/viewtopic.php?f=66&t=2314
/phpbb/styles/prosilver/theme/common.css
Code: Select all
/* Main blocks
---------------------------------------- */
.wrap {
border: 1px solid transparent;
border-radius: 8px;
margin: 0 auto;
max-width: 1152px;
min-width: 625px;
padding: 15px;
}
Code: Select all
/* Main blocks
---------------------------------------- */
.wrap {
border: 1px solid transparent;
border-radius: 8px;
margin: 0 auto;
max-width: 100%;
min-width: 625px;
padding: 15px;
}
I don't have all the answers, but from my experience, almost everything is possible!maxwellqc13 wrote: ↑Sun Apr 02, 2017 2:26 amThank you Kaspir that is what I had been looking for. It was very easy and worked as said. I do have a question though, is there a way to do this and only have it effect the forum index page?
Code: Select all
<div id="wrap" class="wrap<!-- IF SCRIPT_NAME eq 'index' --> indexwrapper<!--ENDIF -->">
Code: Select all
.indexwrapper{
max-width: 100%;
min-width: 625px;
}
Code: Select all
<div id="wrap" class="<!-- IF SCRIPT_NAME eq 'index' -->indexwrapper<!-- ELSE-->wrap<!--ENDIF -->">
Code: Select all
.indexwrapper {
border: 1px solid transparent;
border-radius: 8px;
margin: 0 auto;
max-width: 100%;
min-width: 625px;
padding: 15px;
}