Home › Forums › WoodMart support forum › Reversing image order in Instagram widget
Reversing image order in Instagram widget
- This topic has 12 replies, 2 voices, and was last updated 2 years, 4 months ago by Elise Noromit.
-
AuthorPosts
-
August 3, 2022 at 12:53 pm #395251
wildguitarsParticipantHi, we have the Instagram widget on our homepage and the order of the photos is reversed because our site is in Hebrew (RTL). We post three images at a time on our feed (screenshot attached) and the reversed order on our homepage is less than ideal (screenshot also attached). Is there a way to reverse the order back to LTR?
Thanks,
TomAttachments:
You must be logged in to view attached files.August 4, 2022 at 2:37 am #395389
Elise NoromitMemberHello,
Please insert the site admin access into the Private content below the message area. We will take a closer look at the case.
Best Regars
August 4, 2022 at 10:19 am #395450
wildguitarsParticipantHi Elise, I have provided the requested info in the private content.
Thanks,
TomAugust 4, 2022 at 10:20 am #395451
wildguitarsParticipantSorry, I accidentally entered the staging site’s admin URL. Please see the correct details below.
August 5, 2022 at 3:05 am #395620
Elise NoromitMemberHello,
Unfortunately, the site is not reachable.
Please check and provide the valid URL.
Best Regards
August 5, 2022 at 1:08 pm #395733
wildguitarsParticipantSorry, I missed a letter in the URL. The information in the private content should work now.
August 6, 2022 at 2:24 am #395844
Elise NoromitMemberHello,
Please add this code to the Theme Settings > Custom CSS > Global:
body .owl-carousel.owl-rtl { direction: ltr!important; }
Best Regards
August 6, 2022 at 6:32 pm #395910
wildguitarsParticipantHi Elise,
I added this code to the custom CSS and cleared the cache; I don’t see any change on the frontend.Best regards,
TomAugust 7, 2022 at 1:27 am #395940
Elise NoromitMemberHello,
Please update the theme and I will check once again.
Best Regards
August 7, 2022 at 5:45 pm #395974
wildguitarsParticipantI updated the theme on our live website.
Please note that the code you provided actually reversed the order of other galleries (such as the main gallery on product pages), but it had no effect on the Instagram widget. I would only like to reverse the order of the Instagram widget.Thanks,
TomAugust 8, 2022 at 5:58 pm #396176
Elise NoromitMemberHello,
Please try this code:
(function($) { if ( 'undefined' !== typeof ($.fn.owlCarousel)) { var $this = $('.instagram-slider'); var $owl = $this.find('.owl-carousel'); if (!$owl.length) { return; } if ($owl.hasClass('owl-loaded')) { $owl.trigger('destroy.owl.carousel'); } $owl.owlCarousel({ rtl: false, items: $this.data('desktop') ? $this.data('desktop') : 1, responsive: { 1025: { items: $this.data('desktop') ? $this.data('desktop') : 1 }, 769 : { items: $this.data('tablet_landscape') ? $this.data('tablet_landscape') : 1 }, 577 : { items: $this.data('tablet') ? $this.data('tablet') : 1 }, 0 : { items: $this.data('mobile') ? $this.data('mobile') : 1 } }, autoplay : $this.data('autoplay') === 'yes', autoplayHoverPause: $this.data('autoplay') === 'yes', autoplayTimeout : $this.data('speed') ? $this.data('speed') : 5000, dots : $this.data('hide_pagination_control') !== 'yes', nav : $this.data('hide_prev_next_buttons') !== 'yes', autoHeight : $this.data('autoheight') === 'yes', slideBy : typeof $this.data('scroll_per_page') !== 'undefined' ? 1 : 'page', navText : false, navClass : ['owl-prev wd-btn-arrow', 'owl-next wd-btn-arrow'], center : $this.data('center_mode') === 'yes', loop : $this.data('wrap') === 'yes', dragEndSpeed : $this.data('dragendspeed') ? $this.data('dragendspeed') : 200 }); } })(jQuery);
Please add the code to the Theme Settings > Custom JS > On document ready.
Best Regards
August 11, 2022 at 9:12 am #396723
wildguitarsParticipantThis seems to have done the trick, thanks so much Elise! Your support is fantastic.
Best regards,
TomAugust 12, 2022 at 3:15 am #396874
Elise NoromitMemberWe are always happy to help you, write to us when you have any difficulties or issues with our theme.
We would be grateful for your rate and feedback on http://themeforest.net/downloads in case you are satisfied with our theme and customer service
Thank you in advance!
Wish you a wonderful day!
-
AuthorPosts
The topic ‘Reversing image order in Instagram widget’ is closed to new replies.
- You must be logged in to create new topics. Login / Register