*

7ala

  • ****
  • 144 posts
font-family appears late
« on: October 13, 2021, 08:44:09 AM »
welcome
If I do optimization
The line appears on the site when loading late
And if you cancel the optimization
Works properly does not show slow

*

MB Themes

Re: font-family appears late
« Reply #1 on: October 13, 2021, 08:50:29 AM »
@7ala
That is always kind of issue, you can replace links to fonts with latest one from google, it may help, but in general, best way is to use system fonts :)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

7ala

  • ****
  • 144 posts
Re: font-family appears late
« Reply #2 on: October 13, 2021, 08:53:53 AM »
Thank you
But I use fonts from the system and not from Google

*

MB Themes

Re: font-family appears late
« Reply #3 on: October 13, 2021, 10:51:10 AM »
@7ala
That does not make too much sense, because system fonts does not need to load.
Only what comes to my mind is that you have it defined somewhere in bottom of CSS and it takes longer to load it.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

7ala

  • ****
  • 144 posts
Re: font-family appears late
« Reply #4 on: October 13, 2021, 12:40:45 PM »
Is it right here?

Code: [Select]
<?php  eva_style() ;  ?>
<link rel="StyleSheet" href="<?php echo osc_current_web_theme_url('css/materialdesignicons.min.css') ; ?>">
<link rel="StyleSheet" href="<?php echo osc_current_web_theme_url('css/select2.css') ; ?>">
<link rel="StyleSheet" href="<?php echo osc_current_web_theme_url('css/glightbox.css') ; ?>">
<link rel="stylesheet" href="<?php echo osc_current_web_theme_url('css/main.css') ; ?>?v=<?php echo date('YmdHis'); ?>">
<link rel="StyleSheet" href="<?php echo osc_current_web_theme_url('css/owl.carousel.css') ; ?>">
<?php if( osc_get_preference('gallery''eva') == 'swiper') {?>
<link rel="StyleSheet" href="<?php echo osc_current_web_theme_url('css/swiper.min.css') ; ?>">
<?php } else { ?>
<link rel="stylesheet" href="<?php echo osc_current_web_theme_url('css/jquery.bxslider.css') ; ?>">
<?php }?>

<link rel="stylesheet" href="<?php echo osc_current_web_theme_url('css/main.css') ; ?>?v=<?php echo date('YmdHis'); ?>">

« Last Edit: October 13, 2021, 12:43:26 PM by 7ala »

*

MB Themes

Re: font-family appears late
« Reply #5 on: October 13, 2021, 02:27:51 PM »
@7ala
Yes most probably.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots