Hi,
I designed a style back when 3.5.4 was the latest version. There is a small problem with it when exported to version 3.6. When viewing threads (showthread.php) the posts are wider than the width of the page.
you can an example here:
The width of the forum is 800 pixels while the posts are 850 px wide (750+ a padding of 50px on each side)
i looked in the source code and there is a duplicate piece of code before each post :
---------------------------------------------------------
-------------------------------------------------------------------------------
so before each post this code appears twice instead of once and adds unnecessary 25 pixels of padding on each side.
i searched for "<!-- open content container -->" in styles manager and it seems this code originates from 'spacer open', yet the code there is very short and doesnt seem the be the cause of this problem.
i looked at showthread.php but its a little too much for my current programing skills...
would very much appreciate any help here since this little thing is preventing me from upgrading the forum to the version 3.6.
I designed a style back when 3.5.4 was the latest version. There is a small problem with it when exported to version 3.6. When viewing threads (showthread.php) the posts are wider than the width of the page.
you can an example here:
The width of the forum is 800 pixels while the posts are 850 px wide (750+ a padding of 50px on each side)
i looked in the source code and there is a duplicate piece of code before each post :
---------------------------------------------------------
Code:
<div id="posts"><!-- post #5083 --> <!-- open content container --> <div align="center"> <div class="page" style="width:800px; text-align:right"> <div style="padding:0px 25px 0px 25px"> <div id="edit5083" style="padding:0px 0px 6px 0px"> <!-- this is not the last post shown on the page --> <!-- post #5083 --> <!-- open content container --> <div align="center"> <div class="page" style="width:800px; text-align:right"> <div style="padding:0px 25px 0px 25px"> <div id="edit5083" style="padding:0px 0px 6px 0px"> <!-- this is not the last post shown on the page -->
so before each post this code appears twice instead of once and adds unnecessary 25 pixels of padding on each side.
i searched for "<!-- open content container -->" in styles manager and it seems this code originates from 'spacer open', yet the code there is very short and doesnt seem the be the cause of this problem.
i looked at showthread.php but its a little too much for my current programing skills...
would very much appreciate any help here since this little thing is preventing me from upgrading the forum to the version 3.6.
Comment