Change default font-family

  • Posts: 88
  • Thank you received: 3
  • Hikashop Business Hikashop Essential
9 months 4 weeks ago #359187

-- HikaShop version -- : 5.0.3
-- Joomla version -- : 4.4.2
-- PHP version -- : 8.2

How do I change the default font in Hikashop, so that it is also changed in the popup that appears when adding product to the basket ?? I cannot see the css because the popup disappears to fast!

Please Log in or Create an account to join the conversation.

  • Posts: 4760
  • Thank you received: 647
  • MODERATOR
9 months 4 weeks ago #359198

Hello,

First you should know that a command that allows you to modify ALL text in a single movement is not really possible.
You will therefore have to add several selectors to be sure to cover everything, for example:

a, h3, body {
    font-family: arial !important;
}
Note : Learn how to add your custom Css with this documentation .

But there is a good chance that you will have to add even more selectors.
And we cannot anticipate which ones because each site (depending on Html, Css and other) is different.
Regards

Last edit: 9 months 4 weeks ago by Philip.

Please Log in or Create an account to join the conversation.

  • Posts: 88
  • Thank you received: 3
  • Hikashop Business Hikashop Essential
9 months 4 weeks ago #359219

I think you are missing my point here! The dafult font in the template is ok - it is Hikashop that is changing to another font e.g. in the popup and in the text in italic that show the subtotal on the checkout.

Please Log in or Create an account to join the conversation.

  • Posts: 4760
  • Thank you received: 647
  • MODERATOR
9 months 4 weeks ago #359226

Hello,

There is no options, settings or else to modify in HikaShop only the default font.
If your template has a command to define a font-family but it does not reach the HikaShop pages, then this template is not HikaShop compatible.
And so my answer is still good to get what you need, plus we haven't any solution to suggest.
And for you can use this kind of command to remove "italic" :

a, h3, body {
    font-family: arial !important;
    font-style: norma !important;
}
Regards

Last edit: 9 months 4 weeks ago by Philip.

Please Log in or Create an account to join the conversation.

  • Posts: 88
  • Thank you received: 3
  • Hikashop Business Hikashop Essential
9 months 3 weeks ago #359257

So how would I change the background color in the popup that appears upon adding to basket ?

Please Log in or Create an account to join the conversation.

  • Posts: 4760
  • Thank you received: 647
  • MODERATOR
9 months 3 weeks ago #359261

Hello,

First a little tricks, go to your "Hikashop Cart notification" Plugin, and define an high "Auto-hide delay" in the relative option, and with no "Redirect to checkout".

This will allow you, to keep your popup displayed, then you will then have plenty of time to use your browser inspector tool ( Documentation ) to see your html and required class to build your selector.

Regards

Last edit: 9 months 3 weeks ago by Philip.

Please Log in or Create an account to join the conversation.

Time to create page: 0.066 seconds
Powered by Kunena Forum