Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Changeing font type issue

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 02-26-2018, 10:07 PM
 
Kayali Kayali is offline
 

Member
  
Join Date: Feb 2018
Posts: 14
 

Default 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
Reply With Quote
  #2  
Old 02-26-2018, 11:11 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default 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
Reply With Quote
  #3  
Old 02-28-2018, 08:20 AM
 
Kayali Kayali is offline
 

Member
  
Join Date: Feb 2018
Posts: 14
 

Default 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
Reply With Quote
  #4  
Old 03-01-2018, 12:52 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default 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
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:29 AM.

   

 
X-Cart forums © 2001-2020