-
AuthorPosts
-
August 21, 2016 at 3:39 pm #961712
Hello, sorry for speaking Spanish, you can talk in English.
Quiero cambiar la font de mi página web hecha con Purity III 1.1.7 y poner una Google Font. He seguido las instrucciones de «Add new fonts for a Joomla template video tutorial» y de «Add new fonts» añadiendo la línea al archivo asset.xml en _templates/purityiii/etc.<file>https://fonts.googleapis.com/css?family=Kreon</file>
y cambiando el archivo variables.less en _templates/purityiii/less
@font-family-sans-serif: "Kreon", sans-serif;
Pero no cambia nada, ¿que estoy haciendo mal?
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
August 21, 2016 at 7:52 pm #9617391 user says Thank You to pavit for this useful post
August 22, 2016 at 3:33 pm #962028Hola Pavit.
No he compilado LESS a CSS, pero lo he solucionado viendo con Firebug los archivos que definen la font y cambiando "Kreon" en vez de "Helvetica Neue" en un par de líneas de _templates/purityiii/css/bootstrap.css
No creo que sea la forma más ortodoxa, pero ha funcionado. Tengo que mirar el enlace que me indicas, Ember Google font in JA T3v2
Muchas gracias!pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
August 22, 2016 at 3:41 pm #962029you are welcome.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
July 18, 2017 at 2:53 am #1049365In templates built with T3 framework, you can add your customization into local folder so when updating template, they will not be overwritten.
In this case, you can copy the modified ‘asset.xml’ file into this directory: [root]/templates/purity_iii/local/etc/assets.xml
If there is not ‘local’ folder there, just create it.
-
AuthorPosts
This topic contains 6 replies, has 4 voices, and was last updated by templater 7 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum