Forum Support

Shape 5
March 28, 2024, 05:13:40 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Replace Againts font with custom google webfont  (Read 514 times)
frenky_14
Jr. Member
**
Offline Offline

Posts: 9



« on: 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 Smiley

Thank you,
Klemen
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #1 on: 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
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
frenky_14
Jr. Member
**
Offline Offline

Posts: 9



« Reply #2 on: May 18, 2016, 04:08:06 PM »

Hello Jonah,

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

Klemen
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.