News:

On Deck: Next is "Bluemoon" For SMF 2.1.4! ;)

 

Recent Topics

Members
Stats
  • Total Posts: 10,783
  • Total Topics: 1,380
  • Online today: 44
  • Online ever: 879
  • (Jan 21, 20, 05:49:15 PM)
Users Online
Users: 0
Guests: 36
Total: 36

A blue Flagrantly?

Started by voyager, Jun 06, 11, 02:51:21 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Maxx

I don't know what I'm missing, here but you should not edit any php file to adjust the width, this is done either through the Admin control (current theme) or by editing the index.css file as below:

div#wrapper {
    margin: 0 auto;
    max-width: 2300px;
    min-width: 780px;     <!-- I would remove this -->
    width: 95%;        <!-- adjust width with this line -->
}


Note this code is from your site and is wrong, it should be 3 variables here, the min-width should probably be removed, this will confuse the browser engines.

If you change the index.template.php, this should be Fixed!

Please voyager let's take these issues one at a time!


regards,
Maxx

willemjan

Thats the problem. That won't work. Use firebug on his site, and see if you can find the div called wrapper in the page. It doesn't get loaded. So you can change the CSS or the admin value, but nothing happens.

All this is probably because the wrapper div doesn't get closed. Take an look at the index.template.php, and you'll see :)

Maxx

#52
Here is what I see:

<body>
<div id="wrapper">
<div id="header">
<div id="head-l">
<div id="head-r">
</div>
</div>
          <!-- should maybe place another 2 </div> tag here 4 calls 2 div closed! -->
 

the complete summery as below:
<body>
<div id="wrapper">
<div id="header">
<div id="head-l">
<div id="head-r">
</div>
</div>
<div id="toolbar">
<div id="bodyarea">
<div id="footer">
</div>
<div class="highslide-container" style="padding: 0pt; border: medium none; margin: 0pt; position: absolute; left: 0pt; top: 0pt; width: 100%; z-index: 1001; direction: ltr;">
</body>
</html>



regards,
Maxx

willemjan

So your saying that quite a lot of the divs dont get closed?

Maxx

#54
Sorry Will was busy, not just the 2 on the top code let me correct my post!

Edit 2 close tags!

regards,
maxx

willemjan

Maybe it is better to ask for admin login? Then we can tinker at the site ourselves

Maxx

Yes this what we should have done, good idea Bro!

But pls keep in mind we need to correct the CSS file at the same time.
if it can be adjusted through the Admin Current theme, we need to remove the "width:95% part, and set it from the admin if possible if not then try the index.css edit!

regards,
Maxx

willemjan

Correct! So voyager, could you please create an temp admin account for us? This works a lot faster.

Maxx

Will you may want to try this?

hope I'm right on this?

<div id="wrapper" style="width: ' . $settings['forum_width'] . '">' : '', '
<div id="header">
<div id="head-l">
<div id="head-r">
  <div id="userarea" class="smalltext">';
if (!empty($context['user']['avatar']))
echo '<div id="my-avatar" class="clearfix">
'.$context['user']['avatar']['image'].'
</div></div></div></div>';


regards,
Maxx

voyager

I'm quite lost now. You want a test admin account to do what now?