Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

How To Change Admin Panel (Backend) Font? Rate Topic   - - - - -

 
  • farsgsm
  • Newbie
  • Members
  • Join Date: 07-Jan 20
  • 13 posts

Posted 21 February 2020 - 09:23 PM #1

how to change admin panel (backend) default font?



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 20233 posts

Posted 23 February 2020 - 06:41 AM #2

design/backend/css/config.less

 

Try to change the following line

@sansFontFamily: -apple-system, BlinkMacSystemFont, San Francisco, Roboto, Segoe UI, Ubuntu, Helvetica Neue, sans-serif;

Do not forget to clear cache


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • farsgsm
  • Newbie
  • Members
  • Join Date: 07-Jan 20
  • 13 posts

Posted 25 February 2020 - 12:13 AM #3

thanks

i have changed line to 

 

@sansFontFamily: Shabnam, -apple-system, BlinkMacSystemFont, San Francisco, Roboto, Segoe UI, Ubuntu, Helvetica Neue, sans-serif;

 
and cleared cache.
 
but nothing changed. same old font appears


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 20233 posts

Posted 25 February 2020 - 06:00 AM #4

Are you sure that the new font is added correctly? 


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • farsgsm
  • Newbie
  • Members
  • Join Date: 07-Jan 20
  • 13 posts

Posted 25 February 2020 - 08:01 AM #5

would you please remind me where i had to add my new font exactly?



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 20233 posts

Posted 25 February 2020 - 02:26 PM #6

For example, you can download font file and use them in the CSS section of the Theme editor

 

https://www.w3school...t-face_rule.asp


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • farsgsm
  • Newbie
  • Members
  • Join Date: 07-Jan 20
  • 13 posts

Posted 25 February 2020 - 09:38 PM #7

yes my font already set and working 100% on storefront

I have added codes in "theme".css

 

@font-face {
  font-family: Shabnam;
  src: url('/design/themes/bright_theme/media/fonts/Shabnam-FD.eot');
  src: url('/design/themes/bright_theme/media/fonts/Shabnam-FD.eot?#iefix') format('embedded-opentype'),
       url('/design/themes/bright_theme/media/fonts/Shabnam-FD.woff2') format('woff2'),
       url('/design/themes/bright_theme/media/fonts/Shabnam-FD.woff') format('woff'),
       url('/design/themes/bright_theme/media/fonts/Shabnam-FD.ttf') format('truetype');
  font-weight: normal;
}

 

but the font in backend is not the same as storefront.

 



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 20233 posts

Posted 26 February 2020 - 05:30 AM #8

For the backend use my changes module and the following instruction

 

https://forum.cs-car...on/#entry209281


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • farsgsm
  • Newbie
  • Members
  • Join Date: 07-Jan 20
  • 13 posts

Posted 26 February 2020 - 08:08 AM #9

gr8 thanks,

it works! 8)



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 20233 posts

Posted 26 February 2020 - 02:25 PM #10

You are welcome! :)


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)