smithpl
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
I’ve found solution 🙂
We can add new class name to object with background-image ( for example DIV ) : .bgdiv-greyNow We have to change ( add line ) in wp-accessibility-helper.min.js
this:
jQuery(".greyscale").click(function(){ jQuery("img").each(function(){ jQuery(this).toggleClass("active_greyscale"); }); });on this:
jQuery(".greyscale").click(function(){ jQuery("img").each(function(){ jQuery(this).toggleClass("active_greyscale"); jQuery(".bgimg-grey").toggleClass(" active_greyscale",true); }); });We have only 1 problem. toggleClass doesn’t work when we have some additional classess
added to DIV. For that I had to add “,true”.
But It’s not a problem to add “If…..” to disabling grey-mode for background-image 🙂I know this but I would like to modify code to resolve a problem 😀
Forum: Plugins
In reply to: [Carousel Slider] Sliders desn’t work after update to 1.8.0Hi,
I’ve checked it and the problem is the same in 1.7.4
I’ve found solution.
Problem exist in css. I removed display from here
.htheme_vc_row_contained {
width: 1150px;
margin: 0 auto;
/* display: table; */
}
With display: table – div has width ~ 4500px
Viewing 3 replies - 1 through 3 (of 3 total)