FROM CACHE - en_header

"Image with a text" - How to adjust font type?

Solved
PhilippHo
New Member
3 0 2

Hi there,

i've just switched our font this week for our page ( holmkaffee.de ) to two different ones, that are not from the shopify library. It worked quite well with uploading the woff2 files and inserting the code below to theme.css.liquid. The only thing missing is, that it doesn't seem to cover the "image with a text" sections, which are still shown in the old font. Any advice on how to adjust that? Is there anything else missing in the list of h1-h6 and "body, p, a" ? 

Thanks a lot!

Philipp 

 

@font-face {
font-family: "SangBleuEmpire-Regular-WebXL.woff2";
src: url("SangBleuEmpire-Regular-WebXL.woff2") format("woff2"),
url("SangBleuEmpire-Regular-WebXL.woff2") format("woff");
}

h1, h2, h3, h4, h5, h6 { font-family: "SangBleuEmpire-Regular-WebXL.woff2T"!important; }


@font-face {
font-family: "founders-grotesk-web-regular.woff2";
src: url("Sfounders-grotesk-web-regular.woff2") format("woff2"),
url("founders-grotesk-web-regular.woff2") format("woff");
}

body, p, a { font-family: "SangBleuEmpire-Regular-WebXL.woff2T"!important; }

Accepted Solution (1)

Accepted Solutions
Zworthkey
Shopify Partner
5581 642 1512

This is an accepted solution.

Hii, @PhilippHo 
Can you give me a screenshot so,
I can see which one you want to edit.
Thank You.

View solution in original post

Replies 2 (2)
Zworthkey
Shopify Partner
5581 642 1512

This is an accepted solution.

Hii, @PhilippHo 
Can you give me a screenshot so,
I can see which one you want to edit.
Thank You.

PhilippHo
New Member
3 0 2

Hi there, 

sorry for not having replied already. We solved the problem, there were errors in the code above 😉

thanks for the quick answer though!

Best,

Philipp