- Posts: 366
- Thank you received: 26
Arrow on HikaShop Content Module Carousel
5 years 9 months ago #328924
by Thrane
Arrow on HikaShop Content Module Carousel was created by Thrane
-- HikaShop version -- : 4.4.0
-- Joomla version -- : 3.9.24
-- PHP version -- : 7.4
Hi
Is it possible to have arrows on the HikaShop Content Module Carousel?
I get the Previous/Next buttons, Dot and the other stuff, but would really like some arrows af the left and right side of the module.
Kind regards
Thomas
-- Joomla version -- : 3.9.24
-- PHP version -- : 7.4
Hi
Is it possible to have arrows on the HikaShop Content Module Carousel?
I get the Previous/Next buttons, Dot and the other stuff, but would really like some arrows af the left and right side of the module.
Kind regards
Thomas
Please Log in or Create an account to join the conversation.
5 years 9 months ago #328932
by nicolas
Replied by nicolas on topic Arrow on HikaShop Content Module Carousel
Hi,
To change the "previous" and "next" texts to arrows, you can use translation override of the keys HIKA_PREVIOUS_CAROUSEL and HIKA_NEXT_CAROUSEL with fontawesome icons (like <i class='fa fa-chevron-left'></i> and <i class='fa fa-chevron-right'></i> for example) or img tags with the image of your choosing.
Then, to move the arrows on the left and right sides of the carousel, you can use CSS.
For example:
You just need to adapt the pixels to your needs in that CSS and it should do the job.
www.hikashop.com/support/documentation/1...ize-the-display.html
To change the "previous" and "next" texts to arrows, you can use translation override of the keys HIKA_PREVIOUS_CAROUSEL and HIKA_NEXT_CAROUSEL with fontawesome icons (like <i class='fa fa-chevron-left'></i> and <i class='fa fa-chevron-right'></i> for example) or img tags with the image of your choosing.
Then, to move the arrows on the left and right sides of the carousel, you can use CSS.
For example:
Code:
.owl-prev {
float: left;
position: relative;
left: 20px;
top: -180px;
}
.owl-next {
float: right;
position: relative;
right: 20px;
top: -180px;
}
www.hikashop.com/support/documentation/1...ize-the-display.html
Please Log in or Create an account to join the conversation.
5 years 9 months ago #328961
by Thrane
Replied by Thrane on topic Arrow on HikaShop Content Module Carousel
Always a great answer ready!
Thank you - works GREAT!
Thank you - works GREAT!
Please Log in or Create an account to join the conversation.
Time to create page: 0.065 seconds