change the font of a specific area (h1) on a child theme
-
Good evening,
I need some help because i didn’t find the solution on internet;
I created a child them for my shapely theme and now would like to change the font of a specific areas (h1 and h2 only). for now it’s “permanent marker” font and would like to have “saturdayscript_oblique_alt2”; I put my font on the servor with FTP (here = https://mademoizellefiona.fr/www/wp-content/themes/shapely-child/fonts/) and tried to enter this code at the end of my css file directly on the wordpress dashboard editor (I cannot modify it directly from filezilla) but it’s not working.can someone tell me what’s not working please ? What did I do wrong ?
thanx a lot
@font-face { font-family: saturdayscript_oblique_alt2; src: url(https://mademoizellefiona.fr/www/wp-content/themes/shapely-child/fonts/saturdayscript_oblique_alt2-webfont.ttf); font-weight: normal; } .Heading 1 { font-family: "saturdayscript_oblique_alt2", Arial, sans-serif; }
The page I need help with: [log in to see the link]
- The topic ‘change the font of a specific area (h1) on a child theme’ is closed to new replies.