normal No documentation so how to make it start at 50/50 screen width.

More
8 years 5 months ago - 8 years 5 months ago #8366 by Henny Smafter
Dear developers,

Currently trying your module and would like to see some documentation. In my case the first image always shows at approx. 75% of the screen and the other the remaining 25%. How to make this 50/50 is there something to add to the shortcode. When using multiple b/o images on one page how to do this individual.



With regards,

Henny
Last edit: 8 years 5 months ago by Henny Smafter.

Please Log in or Create an account to join the conversation.

More
8 years 5 months ago #8368 by Henny Smafter
So this is solved now! I must say I don't understand why it is hardcoded inside beforeafterimageslide.js? Uncomment it out and add this to the article with 'No Editor'
Code:
<script> jQuery(window).load(function(){ jQuery(".twentytwenty-container[data-orientation!='vertical']").twentytwenty({default_offset_pct: 0.5}); jQuery(".twentytwenty-container[data-orientation='vertical']").twentytwenty({default_offset_pct: 0.5, orientation: 'vertical'}); }); </script>
The following user(s) said Thank You: Trung Duong

Please Log in or Create an account to join the conversation.

Time to create page: 0.247 seconds

About Growth

Innovative tech for eCommerce growth

Contact Info

Head: No. 3, 175/55 Lane, Lac Long Quan St., Nghia Do Ward, Cau Giay District, Hanoi City, Vietnam