Elektromaus Posted November 8, 2019 Share Posted November 8, 2019 Hello, I would like to code a custom font into the header of the mobile view of my website. I have done so successfully for the regular view but it defaults into standard font when i switch to mobile view. Any ideas? Link to comment
tuanphan Posted November 10, 2019 Share Posted November 10, 2019 @Elektromaus Can you share link to your site? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Elektromaus Posted November 11, 2019 Author Share Posted November 11, 2019 https://www.erggeletwine.com/ Link to comment
tuanphan Posted November 11, 2019 Share Posted November 11, 2019 7 minutes ago, Elektromaus said: https://www.erggeletwine.com/ you mean ERGGELET BROTHERS? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Elektromaus Posted November 11, 2019 Author Share Posted November 11, 2019 Yes, thats correct. And this is the mobile specific CSS I have in there so far: --- @media @mobile { /* Insert Code for Mobile Below This Line*/ @font-face { font-family: 'NOAH'; src: url('https://static1.squarespace.com/static/5cf7ddfac0827b0001ca0b72/t/5d13085b0ebe8d0001347c5c/1561528412192/Fontfabric+-+Noah+Grotesque+Heavy.ttf'); } //ASSIGN NOAH REGULAR FONT// .has-site-title .mobile-Header-branding { font-family: 'NOAH' ; font-size: 35px;} p, h1, h2, h3 { -webkit-hyphens: manual !important; -moz-hyphens: manual !important; -ms-hyphens: manual !important; hyphens: manual !important; } body {text-align:justify} h, h1 ,h2, h3, { font-family: 'NOAH'; font-weight: 200; } h1 { font-size: 22px; } h2 { font-size: 15px; } h3 { font-size: 15px; } p { font-size: 15px; } /* Insert Code for Mobile Above This Line */ } --- Link to comment
tuanphan Posted November 11, 2019 Share Posted November 11, 2019 @media screen and (max-width:640px) { @font-face { font-family: 'NOAH'; src: url('https://static1.squarespace.com/static/5cf7ddfac0827b0001ca0b72/t/5d13085b0ebe8d0001347c5c/1561528412192/Fontfabric+-+Noah+Grotesque+Heavy.ttf'); } h1#sqs-slash-page-header { font-family: 'NOAH' !important; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.