I’m having the same problem.
Anyone have any idea how to fix this?
I do know that if you click on that same comment the second time (after the page reloads) it will work, but obviously that is not a working solution.
Thread Starter
wpte
(@wpte)
Right now I’m using http://wordpress.org/plugins/better-backgrounds/
It does cause a problem which doesn’t show the “settings” of each seperate plugin in the installed plugins view. You can work around this with the tickbox and the dropdown menu to do certain actions. Apart from that it works great with my site.
Just create a directory on your host, drop some images in them and done 🙂
I just found a solution… at least one that works on my site.
I copied the CSS created by the plugin and then created some classes for each background. Once I created the new classes, I used Jquery to randomly load one of the classes to the body.
CSS:
.bg1 {
background-image: url('http://startrekrpgdecipher.kccomputing.net/wp-content/uploads/2013/09/bg11.jpg') !important;
background-position: top center !important;
background-repeat: no-repeat !important;
background-attachment: scroll !important;
background-color: #000000 !important;
}
.bg2 {
background-image: url('http://startrekrpgdecipher.kccomputing.net/wp-content/uploads/2013/09/bg2.jpg') !important;
background-position: top center !important;
background-repeat: no-repeat !important;
background-attachment: scroll !important;
background-color: #000000 !important;
}
Jquery:
function randOrd() {
return (Math.round(Math.random())-0.5);
}
$(document).ready(function() {
var klasses = [ 'bg1', 'bg2' ];
klasses.sort( randOrd );
$('body').each(function(i, val) {
$(this).addClass(klasses[i]);
});
});
Then all I have to do is deactivate the plugin and problem solved.