- Posts: 2
- Thank you received: 1
No documentation so how to make it start at 50/50 screen width.
- Henny Smafter
-
Topic Author
- Offline
- Fresh Boarder
-
Less
More
9 years 5 months ago - 9 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
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: 9 years 5 months ago by Henny Smafter.
Please Log in or Create an account to join the conversation.
- Henny Smafter
-
Topic Author
- Offline
- Fresh Boarder
-
Less
More
- Posts: 2
- Thank you received: 1
9 years 5 months ago #8368
by Henny Smafter
Replied by Henny Smafter on topic No documentation so how to make it start at 50/50 screen width.
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.184 seconds