Shopping Cart Operations > Support

How to change font of Abantecart Page?

(1/2) > >>

BengalEmpire767:
I want to change the default font, I have searched but cannot find option to change font anywhere. Please help.

Basara:
Hello.
The font controlled by your theme CSS. To override theme rules and change the font family in CSS, you can use the following CSS code.

--- Code: ---<!-- Or in your CSS -->
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

/* Then use the font in your CSS */
body {
    font-family: 'Roboto', sans-serif !important;
}
--- End code ---

BengalEmpire767:
OK, where to use the CSS code?

Basara:

--- Quote from: BengalEmpire767 on September 23, 2024, 12:21:22 PM ---OK, where to use the CSS code?

--- End quote ---

You can directly edit your theme's CSS file in hosting filemanager, such as /storefront/view/default/css/style.css or /extensions/novator/storefront/view/novator/css/tm_style.css. Additionally, you can use third-party extensions to modify the CSS https://marketplace.abantecart.com/custom_css

BengalEmpire767:
Thanks, although it did not work, though that could be a problem on my end. Will check again in a bit.

Navigation

[0] Message Index

[#] Next page

Go to full version
Powered by SMFPacks Social Login Mod