| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Changeing font type issue | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Changeing font type issue
Hi
Please need assistance I create three separate front-end languages English,Turkish, Arabic. Now I need to apply new font type for the whole Arabic text template. I already added this cod in CSS but nothing changes html[lang="ar"] body.target-main {font-family: 'Lemonada', cursive;}
__________________
Multi-vendor 5.3.4.5 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Changeing font type issue
First of all, "body.target-main" makes the change to happen on the home page only. Other pages have no ".target-main" class on the body tag.
Second, "body" is not the only tag that configures the font for the page. There are other tags and classes that set the font for page elements: .head-h2, .head-h3, ..., .mm-navbar, and others. The exact list depends on the theme, so you have to use the browser's "Inspect element" function to determine what styles you are to override to change the font.
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#3
|
|||||||
|
|||||||
Re: Changeing font type issue
Thanks Alex, I did what you advise me. I could change the template's font-family
but still one problem The custom CSS which I applied it effected on the three front-end languages whereas I need to apply it for one language only.
__________________
Multi-vendor 5.3.4.5 |
|||||||
#4
|
|||||||||
|
|||||||||
Re: Changeing font type issue
You still need html[lang="ar"] in front of your custom CSS rules to filter out other languages.
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
|
|||
X-Cart forums © 2001-2020
|