News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Poll options overlapping

Started by Erron, October 19, 2008, 11:45:31 PM

Previous topic - Next topic

Erron

upgraded from 1.1.6 to 2.0b4 and now the poll options overlap each other as can be seen in attached screenshot, same no matter what theme i use on polls added before and after upgrade. any fixes out there?


Nathaniel

Well, its likely to be an issue with the upgrade (most themes won't work when you upgrade from SMF 1.1.x to SMF 2 Beta), although it should be fixable. Is it working for the default theme?

Can you please post your '/Themes/{themename}/Display.php' file? Or you ''/Themes/default/Display.php' file if it doesn't work for the default theme?
SMF Friend (Former Support Specialist) | SimplePortal Developer
My SMF Mods | SimplePortal

"Quis custodiet ipsos custodes?" - Who will Guard the Guards?

Please don't send me ANY support related PMs. I will just delete them.

Erron

the theme i use is advertised as being 2.0b4 compatible found here, added it after my upgrade. i switched back to default and noticed the overlapping issue wasnt there so it must be the theme, i then went to get the display file but this theme doesnt have one, so ive attached the default display file.

Thanks for your help

Nathaniel

I can't seem to reproduce that error with that particular theme, even when using your 'Display.template.php' file, so that can't be the issue.

Its probably an issue with the css code. Which browser are you using?

Also, could you please post a link to a poll on your site so that I can have a better look at the page which is causing the issue?
SMF Friend (Former Support Specialist) | SimplePortal Developer
My SMF Mods | SimplePortal

"Quis custodiet ipsos custodes?" - Who will Guard the Guards?

Please don't send me ANY support related PMs. I will just delete them.

Erron

Thankyou very much for this help, beyond the call of duty as they say :)

i found that the problem only seems to exist in IE6 and IE7. ive setup a poll you can access here:


http://harlequin.aussiegate.com/forum/index.php?topic=64.0


firefox and chrome seem to work fine although chrome seems to shrink the width a bit causing the voted line to wrap under the option text but at least its readable.

Nathaniel

Well, I have managed to reproduce the error with IE 6 and that particular theme. I have identified the css code that is causing the error, the edit below should fix it. Just a warning though, it will change the font in other parts of your forum so its not an ideal solution.

Find this code '/Themes/{themename}/style.css':
.windowbg, #preview_body {
    color: #f3ecdd;
    background-color: #3a3e42;
    font-family: "Trebuchet MS",verdana, sans-serif;
}


Replace with this code:
.windowbg, #preview_body {
     color: #f3ecdd;
     background-color: #3a3e42;
}


For a better/more perminate solution, you may want to make a post in the comments topic for this theme, to see if the theme author has any better ideas. If you do that, then post a link to this topic so that they can see what the issue is. ;)

"Black Rain" coments topic:
http://www.simplemachines.org/community/index.php?topic=110466.0
SMF Friend (Former Support Specialist) | SimplePortal Developer
My SMF Mods | SimplePortal

"Quis custodiet ipsos custodes?" - Who will Guard the Guards?

Please don't send me ANY support related PMs. I will just delete them.

Erron

thanks again LHVWB, it has fixed the issue 90%, some characters still get cut off but at least you can read it now, im happy to leave it as it is for now until 2.0 full release.

Advertisement: