
I have upgraded from 4.4.1 to 4.5.2 and my theme from an old xtemplate design to a variation of the pushbutton xtemplate design. I am now having problems with the black bar that counts votes being offset and displayed below the avatar/picture. The gray bar runs behind the picture/avatar, but the black bar is placed below it. This is an issue because the black bar displaying the votes for option 1 appears to be displaying the results of option 2. I did not change the xtemplate engine or .xtmpl file to create this problem, nor have I edied the poll.module file. In my style.css file, the picture is set at a position of "float: right;" which is the original setting for both the pushbutton theme and was how I had my old theme setup, which did not have this problem.
Is anyone have else having this issue? I searched but didn't come up with anything remotely close. Can anyone offer a fix to just disable picture/avatars from being displayed in poll nodes?
If you want to see the problem for yourself, go to http://www.poppycocknews.com .
Thanks.
Comments
glitch
Apparently once one of the lower options was voted on, it made everything align correctly. However, I'd like to just get that avatar out of the way, so please let me know if you have any ideas.
Thanks.
poll fix
.poll .bar {
height: 1em;
width: 85%;
margin: 1px 0;
}
Thanks!
Yeah I'm still having that exact same issue even in Drupal 5.9, with the Garland theme, but your fix does it nicely! I did have to add one additional adjustment:
to keep the percents lined up as well.
For those that don't know where to put that, it goes into something like:
(drupal folder)/themes/(theme name)/style.css
You can search for other .poll entries, and put it after all of them (or the end of the file).