Flipbox height calc
-
I was using the flibox widget with a tweentyseventeen child theme and I saw that the height javascript calc of box was having a value less than it needed.
So I checking in the cl-flipbox.js file that controls this calc, so I did a modification that worked fine at line 50:-BEFORE
height = this.forceSquare ? width : (Math.max(frontContentHeight, backContentHeight) + 2 * this.padding);-AFTER
height = this.forceSquare ? width : (Math.max(frontContentHeight, backContentHeight) + 20 * this.padding);
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Flipbox height calc’ is closed to new replies.