I'm loading fonts manually now, including OpenSans. I was wondering how I might stop the Salient theme from calling OpenSans through @font-face in the Salient style.css. Otherwise I'm loading the OpenSans font twice, one from the Salient theme and once from the child theme.
I know the simple solution is to strip it from the parent theme directly, but I'd prefer to do this through the child theme if possible. Is there a way of doing this?
Sorry to reopen this but I\'m also trying to get rid of any instance of Open Sans.
How exactly do you \"dequeue the style.css from parent and load it from the child theme instead\"? I\'m using a child theme and a child CSS, so this is exactly the solution I need.
Hey David, I asked an independent developer and he couldn\'t figure it out.
Unfortunately I am just manually commenting out the @font-face styles in the Salient style.css, which you have to do every time you upgrade. It would be nice to find a way to do this using a function in functions.php
As you can imagine, I\'m trying to avoid the situation you describe but maybe now that I\'ve flagged this issue again, the ThemeNectar crew can enlighten us... ;)
Hi!
I'm loading fonts manually now, including OpenSans. I was wondering how I might stop the Salient theme from calling OpenSans through @font-face in the Salient style.css. Otherwise I'm loading the OpenSans font twice, one from the Salient theme and once from the child theme.
I know the simple solution is to strip it from the parent theme directly, but I'd prefer to do this through the child theme if possible. Is there a way of doing this?
Thanks!
Nathan
Hey ,
You can dequeue the style.css from parent and load it from the child theme instead.
Thanks
ThemeNectar Support Team
Thanks Tahir!
Sorry to reopen this but I\'m also trying to get rid of any instance of Open Sans.
How exactly do you \"dequeue the style.css from parent and load it from the child theme instead\"? I\'m using a child theme and a child CSS, so this is exactly the solution I need.
Thanks.
Hey David, I asked an independent developer and he couldn\'t figure it out.
Unfortunately I am just manually commenting out the @font-face styles in the Salient style.css, which you have to do every time you upgrade. It would be nice to find a way to do this using a function in functions.php
Hi Nathan, thanks for your advice!
As you can imagine, I\'m trying to avoid the situation you describe but maybe now that I\'ve flagged this issue again, the ThemeNectar crew can enlighten us... ;)