No pollbar after update
-
Hi,
I updated to 2.69 an now there is no pollbar.
In the polls-css.css is no entry .pollbar
I copied the old css code
.wp-polls .pollbar {
margin: 1px;
font-size: 13px;
line-height: 15px;
height: 15px;
background: #ff8200;
border: 1px solid #ff8200;
}in my custom css and now the pollbar is shown correctly. What went wrong?
-
That is weird, the CSS was not touched for two years. https://github.com/lesterchan/wp-polls/blob/master/polls-css.css. I can’t reproduce this problem on my end though.
let see if others have this issue
The polss-css.css is the same you linked in this post. But where I find (.wp-polls .pollbar) the .pollbar? I create the design directly in the plugin and where the plugin saved this settings?
You might have modified directly to the plugin css itself and hence when it got updated, it is overwritten.
Hello,
same issue here, no pollbar after update.I have the same problem: after updating the poll bars dissappeared, even when reconfiguring i.e. the colors or type via your plugin settings they don’t appear.
How can I make them appear? I don’t have the code from the CSS, I used the settings page.Weird, I can’t reproduce the problem on my end.
This is the setting on my end http://imgur.com/BeRzee2. You can view source https://lesterchan.net/wordpress/ it appears at the top.
<link rel='stylesheet' id='wp-polls-css' href='https://lesterchan.net/wordpress/content/plugins/wp-polls/polls-css.css?ver=2.69' type='text/css' media='all' /> <style id='wp-polls-inline-css' type='text/css'> .wp-polls .pollbar { margin: 1px; font-size: 6px; line-height: 8px; height: 8px; background: #d8e1eb; border: 1px solid #c8c8c8; } </style>What version of WordPress are you guys on?
Hello,
settings are similar on my site. WP 4.1.2Does it work on the default theme? Or are you using any caching plugin that caches the page output or minifing all the JS/CSS?
ok, i found something. i have dequeue polls styles because of my custom poll style in theme css file. I don’t want to have any inline css on my site so i add .wp-polls .pollbar class with own settings to my theme css file and it works. Hope this helps someone.
In your page source it ays:
<link rel=’stylesheet’ id=’wp-polls-css’ href=’https://lesterchan.net/wordpress/content/plugins/wp-polls/polls-css.css?ver=2.69′ type=’text/css’ media=’all’ />In ours:
<link rel=’stylesheet’ id=’wp-polls-css’ href=’http://tvvalkenburg.tv/wp-content/plugins/wp-polls/polls-css.css?ver=4.6.2′ type=’text/css’ media=’all’ />And the content of that file is:
/*
+—————————————————————-+
| |
| WordPress Plugin: WP-Polls |
| Copyright (c) 2012 Lester “GaMerZ” Chan |
| |
| File Written By: |
| – Lester “GaMerZ” Chan |
| – http://lesterchan.net |
| |
| File Information: |
| – Polls CSS File |
| – wp-content/plugins/wp-polls/polls-css.css |
| |
+—————————————————————-+
*/.wp-polls-archive {
/* background-color: #ffffff; */
}
.wp-polls, .wp-polls-form {
/* background-color: #ffffff; */
}
.wp-polls ul li, .wp-polls-ul li, .wp-polls-ans ul li {
text-align: left;
background-image: none;
display: block;
}
.wp-polls ul, .wp-polls-ul, .wp-polls-ans ul {
text-align: left;
list-style: none;
float: none;
}
.wp-polls ul li:before, .wp-polls-ans ul li:before, #sidebar ul ul li:before {
content: ”;
}
.wp-polls IMG, .wp-polls LABEL , .wp-polls INPUT, .wp-polls-loading IMG, .wp-polls-image IMG {
display: inline;
border: 0px;
padding: 0px;
margin: 0px;
}
.wp-polls-ul {
padding: 0px;
margin: 0px 0px 10px 10px;
}
.wp-polls-ans {
width:100%;
filter: alpha(opacity=100);
-moz-opacity: 1;
opacity: 1;
/* background-color: #ffffff; */
}
.wp-polls-loading {
display: none;
text-align: center;
height: 16px;
line-height: 16px;
}
.wp-polls-image {
border: 0px;
}
.wp-polls .Buttons {
border:1px solid #c8c8c8;
background-color: #f3f6f8;
}
/* Polls Archive Paging */
.wp-polls-paging a, .wp-polls-paging a:link {
padding: 2px 4px 2px 4px;
margin: 2px;
text-decoration: none;
border: 1px solid #0066cc;
color: #0066cc;
background-color: #FFFFFF;
}
.wp-polls-paging a:visited {
padding: 2px 4px 2px 4px;
margin: 2px;
text-decoration: none;
border: 1px solid #0066cc;
color: #0066cc;
background-color: #FFFFFF;
}
.wp-polls-paging a:hover {
border: 1px solid #000000;
color: #000000;
background-color: #FFFFFF;
}
.wp-polls-paging a:active {
padding: 2px 4px 2px 4px;
margin: 2px;
text-decoration: none;
border: 1px solid #0066cc;
color: #0066cc;
background-color: #FFFFFF;
}
.wp-polls-paging span.pages {
padding: 2px 4px 2px 4px;
margin: 2px 2px 2px 2px;
color: #000000;
border: 1px solid #000000;
background-color: #FFFFFF;
}
.wp-polls-paging span.current {
padding: 2px 4px 2px 4px;
margin: 2px;
font-weight: bold;
border: 1px solid #000000;
color: #000000;
background-color: #FFFFFF;
}
.wp-polls-paging span.extend {
padding: 2px 4px 2px 4px;
margin: 2px;
border: 1px solid #000000;
color: #000000;
background-color: #FFFFFF;
}found it!
We use TagDiv Speedbooster and it puts the CSS to the end of the page. I stopped that and now it works, also with the coloured bars test I entered yesterday 🙂
I also use TagDiv Speedboster! And for a better Pagespeed it is necessary.
To fix the problem:
go to plugins/td-speed-booster/td-speed-booster.php
and delete this:
$this->move_style_to_footer(‘wp-polls’);
You don’t have to deactivate the TagDiv Speedbooster plugin.
@pixelwunder: indeed that was also my solution, only stop wp-polls, others still working, thanks
The topic ‘No pollbar after update’ is closed to new replies.