Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • joseignaci Friend
    #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 Moderator
    #961739

    Hi

    Take also a look HERE

    Also after you added new font did you compiled less to css file ?

    joseignaci Friend
    #962028

    Hola 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 Moderator
    #962029

    you are welcome.

    templater Friend
    #1047414

    Hi
    When updating a template, will the asset.xml file be overwritten?
    Thank you

    • This reply was modified 6 years, 9 months ago by  templater.
    • This reply was modified 6 years, 9 months ago by  templater.
    Saguaros Moderator
    #1049365

    In 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.

    templater Friend
    #1052726

    Saguaros
    Splendid!
    Many thanks

Viewing 7 posts - 1 through 7 (of 7 total)

This topic contains 6 replies, has 4 voices, and was last updated by  templater 6 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum