Home › Forums › WoodMart support forum › Remove dont style in every page
Remove dont style in every page
- This topic has 9 replies, 2 voices, and was last updated 4 years, 7 months ago by Artem Temos.
-
AuthorPosts
-
May 12, 2020 at 7:11 am #194237
cristinabParticipantHello,
the following code is added in the HTML of every page. Since it’s not an optimized solution, I’d like to know how to remove this code, thanks a lot:
<style type=”text/css”>@font-face {
font-family: ‘Lato’;
font-style: italic;
font-weight: 100;
font-display: swap;
src: local(‘Lato Hairline Italic’), local(‘Lato-HairlineItalic’), url(https://fonts.gstatic.com/s/lato/v16/S6u-w4BMUTPHjxsIPx-oPCc.ttf) format(‘truetype’);
}
@font-face {
font-family: ‘Lato’;
font-style: italic;
font-weight: 300;
font-display: swap;
src: local(‘Lato Light Italic’), local(‘Lato-LightItalic’), url(https://fonts.gstatic.com/s/lato/v16/S6u_w4BMUTPHjxsI9w2_Gwfo.ttf) format(‘truetype’);
}
@font-face {
font-family: ‘Lato’;
font-style: italic;
font-weight: 400;
font-display: swap;
src: local(‘Lato Italic’), local(‘Lato-Italic’), url(https://fonts.gstatic.com/s/lato/v16/S6u8w4BMUTPHjxsAXC-v.ttf) format(‘truetype’);
}
@font-face {
font-family: ‘Lato’;
font-style: italic;
font-weight: 700;
font-display: swap;
src: local(‘Lato Bold Italic’), local(‘Lato-BoldItalic’), url(https://fonts.gstatic.com/s/lato/v16/S6u_w4BMUTPHjxsI5wq_Gwfo.ttf) format(‘truetype’);
}
@font-face {
font-family: ‘Lato’;
font-style: italic;
font-weight: 900;
font-display: swap;
src: local(‘Lato Black Italic’), local(‘Lato-BlackItalic’), url(https://fonts.gstatic.com/s/lato/v16/S6u_w4BMUTPHjxsI3wi_Gwfo.ttf) format(‘truetype’);
}
@font-face {
font-family: ‘Lato’;
font-style: normal;
font-weight: 100;
font-display: swap;
src: local(‘Lato Hairline’), local(‘Lato-Hairline’), url(https://fonts.gstatic.com/s/lato/v16/S6u8w4BMUTPHh30AXC-v.ttf) format(‘truetype’);
}
@font-face {
font-family: ‘Lato’;
font-style: normal;
font-weight: 300;
font-display: swap;
src: local(‘Lato Light’), local(‘Lato-Light’), url(https://fonts.gstatic.com/s/lato/v16/S6u9w4BMUTPHh7USSwiPHA.ttf) format(‘truetype’);
}
@font-face {
font-family: ‘Lato’;
font-style: normal;
font-weight: 400;
font-display: swap;
src: local(‘Lato Regular’), local(‘Lato-Regular’), url(https://fonts.gstatic.com/s/lato/v16/S6uyw4BMUTPHjx4wWw.ttf) format(‘truetype’);
}
@font-face {
font-family: ‘Lato’;
font-style: normal;
font-weight: 700;
font-display: swap;
src: local(‘Lato Bold’), local(‘Lato-Bold’), url(https://fonts.gstatic.com/s/lato/v16/S6u9w4BMUTPHh6UVSwiPHA.ttf) format(‘truetype’);
}
@font-face {
font-family: ‘Lato’;
font-style: normal;
font-weight: 900;
font-display: swap;
src: local(‘Lato Black’), local(‘Lato-Black’), url(https://fonts.gstatic.com/s/lato/v16/S6u9w4BMUTPHh50XSwiPHA.ttf) format(‘truetype’);
}
@font-face {
font-family: ‘Poppins’;
font-style: italic;
font-weight: 100;
font-display: swap;
src: local(‘Poppins Thin Italic’), local(‘Poppins-ThinItalic’), url(https://fonts.gstatic.com/s/poppins/v9/pxiAyp8kv8JHgFVrJJLmE0tCMPc.ttf) format(‘truetype’);
}
@font-face {
font-family: ‘Poppins’;
font-style: italic;
font-weight: 200;
font-display: swap;
src: local(‘Poppins ExtraLight Italic’), local(‘Poppins-ExtraLightItalic’), url(https://fonts.gstatic.com/s/poppins/v9/pxiDyp8kv8JHgFVrJJLmv1pVF9eL.ttf) format(‘truetype’);
}
@font-face {
font-family: ‘Poppins’;
font-style: italic;
font-weight: 300;
font-display: swap;
src: local(‘Poppins Light Italic’), local(‘Poppins-LightItalic’), url(https://fonts.gstatic.com/s/poppins/v9/pxiDyp8kv8JHgFVrJJLm21lVF9eL.ttf) format(‘truetype’);
}
@font-face {
font-family: ‘Poppins’;
font-style: italic;
font-weight: 400;
font-display: swap;
src: local(‘Poppins Italic’), local(‘Poppins-Italic’), url(https://fonts.gstatic.com/s/poppins/v9/pxiGyp8kv8JHgFVrJJLucHtF.ttf) format(‘truetype’);
}
@font-face {
font-family: ‘Poppins’;
font-style: italic;
font-weight: 500;
font-display: swap;
src: local(‘Poppins Medium Italic’), local(‘Poppins-MediumItalic’), url(https://fonts.gstatic.com/s/poppins/v9/pxiDyp8kv8JHgFVrJJLmg1hVF9eL.ttf) format(‘truetype’);
}
@font-face {
font-family: ‘Poppins’;
font-style: italic;
font-weight: 600;
font-display: swap;
src: local(‘Poppins SemiBold Italic’), local(‘Poppins-SemiBoldItalic’), url(https://fonts.gstatic.com/s/poppins/v9/pxiDyp8kv8JHgFVrJJLmr19VF9eL.ttf) format(‘truetype’);
}
@font-face {
font-family: ‘Poppins’;
font-style: italic;
font-weight: 700;
font-display: swap;
src: local(‘Poppins Bold Italic’), local(‘Poppins-BoldItalic’), url(https://fonts.gstatic.com/s/poppins/v9/pxiDyp8kv8JHgFVrJJLmy15VF9eL.ttf) format(‘truetype’);
}
@font-face {
font-family: ‘Poppins’;
font-style: italic;
font-weight: 800;
font-display: swap;
src: local(‘Poppins ExtraBold Italic’), local(‘Poppins-ExtraBoldItalic’), url(https://fonts.gstatic.com/s/poppins/v9/pxiDyp8kv8JHgFVrJJLm111VF9eL.ttf) format(‘truetype’);
}
@font-face {
font-family: ‘Poppins’;
font-style: italic;
font-weight: 900;
font-display: swap;
src: local(‘Poppins Black Italic’), local(‘Poppins-BlackItalic’), url(https://fonts.gstatic.com/s/poppins/v9/pxiDyp8kv8JHgFVrJJLm81xVF9eL.ttf) format(‘truetype’);
}
@font-face {
font-family: ‘Poppins’;
font-style: normal;
font-weight: 100;
font-display: swap;
src: local(‘Poppins Thin’), local(‘Poppins-Thin’), url(https://fonts.gstatic.com/s/poppins/v9/pxiGyp8kv8JHgFVrLPTucHtF.ttf) format(‘truetype’);
}
@font-face {
font-family: ‘Poppins’;
font-style: normal;
font-weight: 200;
font-display: swap;
src: local(‘Poppins ExtraLight’), local(‘Poppins-ExtraLight’), url(https://fonts.gstatic.com/s/poppins/v9/pxiByp8kv8JHgFVrLFj_Z1xlEA.ttf) format(‘truetype’);
}
@font-face {
font-family: ‘Poppins’;
font-style: normal;
font-weight: 300;
font-display: swap;
src: local(‘Poppins Light’), local(‘Poppins-Light’), url(https://fonts.gstatic.com/s/poppins/v9/pxiByp8kv8JHgFVrLDz8Z1xlEA.ttf) format(‘truetype’);
}
@font-face {
font-family: ‘Poppins’;
font-style: normal;
font-weight: 400;
font-display: swap;
src: local(‘Poppins Regular’), local(‘Poppins-Regular’), url(https://fonts.gstatic.com/s/poppins/v9/pxiEyp8kv8JHgFVrJJfedw.ttf) format(‘truetype’);
}
@font-face {
font-family: ‘Poppins’;
font-style: normal;
font-weight: 500;
font-display: swap;
src: local(‘Poppins Medium’), local(‘Poppins-Medium’), url(https://fonts.gstatic.com/s/poppins/v9/pxiByp8kv8JHgFVrLGT9Z1xlEA.ttf) format(‘truetype’);
}
@font-face {
font-family: ‘Poppins’;
font-style: normal;
font-weight: 600;
font-display: swap;
src: local(‘Poppins SemiBold’), local(‘Poppins-SemiBold’), url(https://fonts.gstatic.com/s/poppins/v9/pxiByp8kv8JHgFVrLEj6Z1xlEA.ttf) format(‘truetype’);
}
@font-face {
font-family: ‘Poppins’;
font-style: normal;
font-weight: 700;
font-display: swap;
src: local(‘Poppins Bold’), local(‘Poppins-Bold’), url(https://fonts.gstatic.com/s/poppins/v9/pxiByp8kv8JHgFVrLCz7Z1xlEA.ttf) format(‘truetype’);
}
@font-face {
font-family: ‘Poppins’;
font-style: normal;
font-weight: 800;
font-display: swap;
src: local(‘Poppins ExtraBold’), local(‘Poppins-ExtraBold’), url(https://fonts.gstatic.com/s/poppins/v9/pxiByp8kv8JHgFVrLDD4Z1xlEA.ttf) format(‘truetype’);
}
@font-face {
font-family: ‘Poppins’;
font-style: normal;
font-weight: 900;
font-display: swap;
src: local(‘Poppins Black’), local(‘Poppins-Black’), url(https://fonts.gstatic.com/s/poppins/v9/pxiByp8kv8JHgFVrLBT5Z1xlEA.ttf) format(‘truetype’);
}
</style>May 12, 2020 at 8:18 am #194260
Artem TemosKeymasterHello,
Could you please disable all plugins that are not related to our theme and provide us your admin access so we can check it?
Thank you in advance
May 12, 2020 at 10:04 am #194297
cristinabParticipantHello,
I’ve solved what’s above, but I take the chance to ask you how to avoid the external requests for the fonts used in the theme, as it requires too much CPU Exection time. (see private text below).
This is causing the site loading very slow, and issues with the hosting that block our website for too much CPU execution time.
Please tell me how to solve.
ThanksMay 12, 2020 at 11:09 am #194330
Artem TemosKeymasterYou can download all required fonts from Google and upload them to your website using our Custom Fonts function.
May 12, 2020 at 11:57 am #194343
cristinabParticipantThanks
How to disable the following fonts loaded by the theme?
It is not necessary and I wish to delete them but I don’t see any option to do that.
Can you help me please?
You can see the link below:May 12, 2020 at 1:13 pm #194368
Artem TemosKeymasterWhen you will change all Google fonts from our Typography options in Theme Settings then Google fonts related to our theme will not be loaded.
May 12, 2020 at 1:22 pm #194373
cristinabParticipantHello,
I did it already setting VERDANA only but I still see them loading.
Can you guide me in order to delete them? ThanksMay 12, 2020 at 1:53 pm #194374
Artem TemosKeymasterMaybe they are not related to our theme. Try to check it with default WordPress theme. And send us a link where we can check this too.
May 12, 2020 at 4:39 pm #194424
cristinabParticipantHello,
links point to the fonts folder of woodmart.
Could you please tell me how to remove them?
At the moment the only font used is VERDANA.
ThanksMay 13, 2020 at 6:07 am #194515
Artem TemosKeymasterThese files are required for our theme icons and if you will remove them then you will lose all the icons on your website.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register