Rob-FHD-2021 Posted August 31, 2021 Share Posted August 31, 2021 Site URL: https://www.dskvr.co.uk Hi All, Bit new to this so please be kind - last week I have created a site with new custom fonts, all was working fine, used some of your snippets of code to help so thank you for that Just logged in and the fonts are no longer working, and it doesn't seem to work if i change them any more either - here is the code below - would be grateful if anyone can point me in the right direction again - thank you in advance @font-face { font-family: 'fugue_headline'; src: url('https://static1.squarespace.com/static/60d335c55058b46a8950e261/t/60d33dec17c22f79ce1ef188/1624456684312/fugue_headline.otfFontURL'); } h1 {font-family: 'fugue_headline';} h2 {font-family: 'fugue_headline';} h3 {font-family: 'fugue_headline';} h4 {font-family: 'fugue_headline';} @font-face { font-family: 'Dharma Type - Sometype Mono Regular'; src: url('https://static1.squarespace.com/static/60d335c55058b46a8950e261/t/60d33e061d66db6becacd1cd/1624456710406/Dharma+Type+-+Sometype+Mono+Regular.otfhttps://static1.squarespace.com/static/60d335c55058b46a8950e261/t/60d33dec17c22f79ce1ef188/1624456684312/fugue_headline.otfFontURL'); } p {font-family: 'Dharma Type - Sometype Mono Regular'!important;} @font-face { font-family: 'Dharma Type - Sometype Mono Regular'; src: url(https://static1.squarespace.com/static/5ebb082d8148b13aaa27331a/t/5ecd1ce75e861630ff1f359a/1590500583301/Dharma Type - Sometype Mono Regular.ttf); } .sqs-block-button-element { font-family: 'Dharma Type - Sometype Mono Regular' !important; } //page titles font// //contact form// .form-wrapper .field-list .title { font-family: 'Dharma Type - Sometype Mono Regular' ; font-size: 10px; color: #000000; letter-spacing: .10em; text-transform: case; } //Header-Navigation Title Font// //button fonts// //product name shop font// h1.ProductItem-details-title { font-family: 'fugue_headline' !important; } //product pricing// .sqs-money-native {font-family: 'fugue_headline' !important; } //add to cart font// .sqs-add-to-cart-button-inner {font-family: 'Dharma Type - Sometype Mono Regular'} //shop crumbs// .nested-category-breadcrumb-link {font-family: 'fugue_headline' !important; } Link to comment
tuanphan Posted September 1, 2021 Share Posted September 1, 2021 remove FontURL text from your code (bold text) Quote src: url('https://static1.squarespace.com/static/60d335c55058b46a8950e261/t/60d33dec17c22f79ce1ef188/1624456684312/fugue_headline.otfFontURL'); 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.