Jump to content

Cambiar fuente desde css


Recommended Posts

Hola, me gustaría cambiar la fuente predeterminada por una googlefont poco habitual (CourierPrime).

El caso es que no tengo ni idea de php y no tengo index.html sino index.php y no se dónde pegar el trozo que he de poner en la cabecera para que mi página reconozca la fuente y la muestre.

Concretamente he de pegar esto: 
<link rel="preconnect" href="https://fonts.googleapis.com">

<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>

<link href="https://fonts.googleapis.com/css2?family=Courier+Prime:ital,[email protected],400;0,700;1,400;1,700&display=swap" rel="stylesheet">

Share this post


Link to post
Share on other sites

pon la url de tu tienda o pon el css de theme.css

<link rel="preconnect" href="https://fonts.googleapis.com">

<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>

los tendras que poner dentro del <head>

public_html/themes/classic/templates/_partials/head.tpl

Edited by Gerardo Martinez G (see edit history)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More