1. smithjd44
  2. Sherlock Holmes
  3. Commercial Templates
  4. Monday, 10 September 2018
  5.  Subscribe via email
I am having a problem in adding the Lato-LightItalic font to the Sophia Template.

I have tried using Lato+Light+Italic and Lato+LightItalic in the googlefonts.php file but so far it is not working.

Do I need to load that font into the Fonts folder and use CSS code to use.

My client wants to use this font for the entire website.

Thank you for your help.

James
References
  1. http://regenerativemedicineofdfw.com
Accepted Answer Pending Moderation
0
Votes
Undo
Hi James

As with any font, Italic is applied to any text wrapped in an 'i' tag...

<p><i>This text is italic</i></p>


To apply italic to all body text you can add the following to the Custom CSS field of your template settings...

body {
font-style: italic;
}


Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
I believe my client would like the entire site for the font.

Just having problems in getting the lato light italic version to setup as an option to select.

I guess if we could force that font on all of the text and heading, he would be alright with that.

Sorry this has been such a pain!

I always appreciate your support! Joomla51 templates are all that I use in my web design business.

Thanks for you help!

James
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hi James

What type of text would you like to display as italic (eg. paragraphs, H1s, H2s etc.)?

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Do I also need to install the Lato -LIght-Italic font somewhere in the Sophia template?

Or when I added the font to the Google Fonts php page is there a specific way of entering the lato light italic font name into the php?

Thank you for your help!

James
References
  1. http://regenerativemedicineofdfw.com
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Hi James

Try replacing line 37 of your templates fonts.php (../templates/j51_sophia/inc/fonts.php) with the following...

echo '<link rel="stylesheet" href="//fonts.googleapis.com/css?family=' . $v . ':300,300i,400,500&&subset=' . $font_subset . '" /> ';


Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 5
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.