Shape 5

Joomla Templates => Eventfull - Club => : frenky_14 May 17, 2016, 03:40:06 PM



: Replace Againts font with custom google webfont
: frenky_14 May 17, 2016, 03:40:06 PM
Hello,

I am trying to replace the currently used Againts webfont with a different google font, but with no luck. I uploaded the font's .ttf file to the /fonts/ directory but I do not know where to make the switch so any pointers will be appreciated :)

Thank you,
Klemen


: Re: Replace Againts font with custom google webfont
: jonahh May 18, 2016, 11:15:44 AM
Hello Klemen,

Just leave the against font text field blank in the theme specific area of Vertex. We already have Google fonts built in so you can just add on the class or ID you want to show with the highlight Google font here in the index.php file:

.module_round_box-centered h3.s5_mod_h3, .module_round_box-centered_white h3.s5_mod_h3, .fp-tooltip, .jdGallery .slideInfoZone h2, .jdGallery .slideInfoZone .slide_title, .s5_logo_module, .module_round_box-centered_googlemap h3.s5_mod_h3, .s5_googlemapaddress a.button, .item h2, .item h2 a, .item-page h2, .item-page h2 a, .items-leading h2 a, legend, #cboxContent .s5_mod_h3_outer h3, h1, h2, h3, h4, h5 {font-family: <?php echo $s5_fonts_highlight;?> !important;}

If you want it to show separate and be a highlight font 2 or something then this would require custom coding. You could hire us to add this feature here:

http://www.shape5.com/custom_services.html


: Re: Replace Againts font with custom google webfont
: frenky_14 May 18, 2016, 04:08:06 PM
Hello Jonah,

Thank you for the tip, this helped a lot and it solved my problem.

Klemen