Home › Forums › SKT Biz/Corp Theme Support › Can’t set default font for H1 on Product Page title
- This topic has 8 replies, 2 voices, and was last updated 1 year, 4 months ago by Sonl Sinha.
-
AuthorPosts
-
July 4, 2023 at 7:19 pm #206135
Hey,
I’m trying to make a default font for H1 titles specifically on the product page and It keeps changing automatically after I set the font I want
Doing it from the front theme customizer, going to the Typography and on the H1 changing it to “Assistant” font
After I’m hitting the Publish button it doesn’t save the Assistant and changes to a different font for some reason.Can you assist me with that?
July 4, 2023 at 8:33 pm #206136Additionally, can you help me somehow make the site Logo on MOBILE view in the center, currently it is attached to the top header, looking weird
Thanks
GalJuly 5, 2023 at 10:39 am #206142Hi,
Kindly show us your website URL?
Regards,
ChrisJuly 5, 2023 at 11:36 am #206145medicnet.online
Ohhhh… sorry I’m always forgetting to add the website!!!
July 5, 2023 at 11:47 am #206147Hi,
Kindly go to Appearance >> Customize >> Basic >> Scroll down to find Custom CSS and paste there:
@media screen and (max-width: 767px) { .logo { padding-top: 20px !important;} } .woocommerce div.product .product_title { font-family: Assistant !important; }
Regards,
ChrisJuly 5, 2023 at 2:28 pm #206150Hey,
Logo issue on Mobile – Fixed!
ThanksRegarding the font issue, the code you attached didn’t help for some reason.
I’ve added this code to the Header.php file Added after the </head> and the issue was solved.
<style>
@import url(‘https://fonts.googleapis.com/css2?family=Assistant&display=swap’);body.woocommerce div.product .product_title {
font-family: ‘Assistant’, sans-serif !important;
}
</style>Can you please confirm that this is ok to add?
July 5, 2023 at 3:11 pm #206151Hi,
Kindly use this CSS code:
body.woocommerce div.product .product_title { font-family: ‘Assistant’, sans-serif !important; }
Regards,
ChrisJuly 5, 2023 at 3:52 pm #206152The new code you attached isn’t working when I’m adding it to the Basic = CSS Custom section
July 6, 2023 at 10:37 am #206167Hi,
Can you send us the screenshot after adding the custom CSS? Upload your screenshot on https://imgbb.com/ and paste the share url here.
Regards,
Chris -
AuthorPosts
- You must be logged in to reply to this topic.