- Posts: 96
- Thank you received: 3
Upgrade HS business 441 to 442/3 lost FontAwesome connection?
5 years 1 month ago - 5 years 1 month ago #335066
by Digishop
-- HikaShop version -- : 4.4.3
-- Joomla version -- : 3.9.28
-- PHP version -- : 7.4.20
Hello,
I did an upgrade from HS business 441 to 442 and later to 443 in a test environment. See the url. Now I'm having some extra icons for the next- previous product icons.
And the color of the original icons is set (hikashop_previous_product / hikashop_next_product) to #333. It look like it lost the FontAwesome connection.
Can you help?
Thanks.
Kees
-- Joomla version -- : 3.9.28
-- PHP version -- : 7.4.20
Hello,
I did an upgrade from HS business 441 to 442 and later to 443 in a test environment. See the url. Now I'm having some extra icons for the next- previous product icons.
And the color of the original icons is set (hikashop_previous_product / hikashop_next_product) to #333. It look like it lost the FontAwesome connection.
Can you help?
Thanks.
Kees
Last edit: 5 years 1 month ago by Digishop.
Please Log in or Create an account to join the conversation.
5 years 1 month ago #335070
by nicolas
Replied by nicolas on topic Upgrade HS business 441 to 442/3 lost FontAwesome connection?
Hi
Before HikaShop 4.4.2, we were not using font awesome for these icons but simple images. In order to simplify customization and make it more consistent with the rest of the interface of HikaShop, which already uses font awesome everywhere else, we changed these buttons to migrate to font awesome.
The issue you have with the updated page comes from the custom CSS of your template. Your template adds special CSS to customize these buttons using its font awesome and hid the image HikaShop was using.
It's done with the code:
in the file /templates/ignite/css/template.css
So remove the lines:
and
and add instead the code:
from there and it will look close to what you had before.
I would recommend reporting the issue to your template provider so that they can update the CSS in their template.
Before HikaShop 4.4.2, we were not using font awesome for these icons but simple images. In order to simplify customization and make it more consistent with the rest of the interface of HikaShop, which already uses font awesome everywhere else, we changed these buttons to migrate to font awesome.
The issue you have with the updated page comes from the custom CSS of your template. Your template adds special CSS to customize these buttons using its font awesome and hid the image HikaShop was using.
It's done with the code:
Code:
.hikashop_product_page .hikashop_next_product, .hikashop_product_page .hikashop_previous_product { background: none; position: absolute; z-index: 2; right: -15px; top: 10px; color: #FF9900; font-size: 1.5em; }
.hikashop_product_page .hikashop_next_product:hover, .hikashop_product_page .hikashop_previous_product:hover { color: #D1BD98; }
.hikashop_product_page .hikashop_next_product:before, .hikashop_product_page .hikashop_previous_product:before { font-family: "FontAwesome"; content: "\f054"; }
.hikashop_product_page .hikashop_previous_product { right: 10px; }
.hikashop_product_page .hikashop_previous_product:before { content: "\f053"; }
So remove the lines:
Code:
.hikashop_product_page .hikashop_next_product:before, .hikashop_product_page .hikashop_previous_product:before { font-family: "FontAwesome"; content: "\f054"; }
Code:
.hikashop_product_page .hikashop_previous_product:before { content: "\f053"; }
Code:
.hikashop_previous_product_btn p, .hikashop_next_product_btn p {
display: none;
}
.hikashop_previous_product_btn, .hikashop_next_product_btn {
border: 0;
}
I would recommend reporting the issue to your template provider so that they can update the CSS in their template.
The following user(s) said Thank You: Digishop
Please Log in or Create an account to join the conversation.
5 years 1 month ago #335082
by Digishop
Replied by Digishop on topic Upgrade HS business 441 to 442/3 lost FontAwesome connection?
Hello Nicolas,
Thank you for your quick response.
This did the job.
Best regards
Kees
Thank you for your quick response.
This did the job.
Best regards
Kees
Please Log in or Create an account to join the conversation.
Time to create page: 0.197 seconds