Home / Forums / Basel support forum / Some customization
Home › Forums › Basel support forum › Some customization
Some customization
- This topic has 12 replies, 2 voices, and was last updated 7 years, 2 months ago by
Artem Temos.
-
AuthorPosts
-
August 24, 2018 at 8:30 am #74117

fotodiscountworldParticipantI would like it if the product navigation could also navigate the main image
Attachments:
You must be logged in to view attached files.August 24, 2018 at 9:10 am #74131
Artem TemosKeymasterHi,
Try to add the following code snippet to the Custom CSS area in Theme Settings
.woocommerce-product-gallery__wrapper .owl-nav { position: static!important; background-color: transparent!important; box-shadow: none!important; } .woocommerce-product-gallery__wrapper .owl-nav > div { position: absolute!important; } .woocommerce-product-gallery__wrapper .owl-nav .owl-next { right: 0!important; } .woocommerce-product-gallery__wrapper .owl-nav .owl-prev { left: 0!important; }And edit file
js/functions.jsas shown on the screenshotYou will need to disable JS combine and minify options in Theme Settings -> Performance.
Regards
August 24, 2018 at 9:42 am #74139
fotodiscountworldParticipantcant i just make the changes in the functions.min.js
August 24, 2018 at 10:24 am #74143
fotodiscountworldParticipantalso i would like it if the person uses the arrow to reach the end of the images i would like it to start with the first image again, So i basically it would be a loop of the images
August 24, 2018 at 11:39 am #74156
Artem TemosKeymasterLoop is not recommended there since it may break some other functionality on the product page like variations images change.
You can find and edit this code in the minified version as well.
August 24, 2018 at 11:46 am #74159
fotodiscountworldParticipanti found the code statement in the minified version and changed the value from !1 to 1
yet it does not workfor the images : so there is no way i can make if you press the last one it goes back to the first image ?
August 24, 2018 at 12:35 pm #74164
Artem TemosKeymasterAs we can see, arrows navigation is already shown on your product page.
Unfortunately, there is no such option for images.August 24, 2018 at 1:23 pm #74175
fotodiscountworldParticipantit works cause i disabled the minified js
August 24, 2018 at 1:39 pm #74178
Artem TemosKeymasterCould you please enable it now and do your modifications?
August 24, 2018 at 1:59 pm #74179
fotodiscountworldParticipantok you can check now
August 24, 2018 at 2:12 pm #74180
Artem TemosKeymasterThere is some minification plugin on your website. It means that you can freely disable this option in our Theme Settings and use
functions.jssince it will be minified by the plugin.August 24, 2018 at 2:26 pm #74186
fotodiscountworldParticipantok thank you
August 24, 2018 at 3:00 pm #74197
Artem TemosKeymasterYou are welcome.
-
AuthorPosts
The topic ‘Some customization’ is closed to new replies.
- You must be logged in to create new topics. Login / Register