• Gear
  • Shots
  • Photo Craft
  • Video
  • Wide Angle
  • Support
  • New Stuff
  • More
Support SmugMug Customization Only one Google font per site?

FAQtoid

Ever wanted to create an Avatar? Creating an Avatar!

Searching Dgrin with Google Searching with Google

Dgrin Challenges

Congratulations to the Winner of DSS #128 (Sunrise or Sunset), ShootingStar.

The next Dgrin Challenge DSS #129 (Silhouette Revisited ) is open for entries through May 27th, 2013 at 8:00pm PDT.

As always, we look forward to your participation but please do take a moment to read through the rules before posting your entry.

Past DSS Challenge Winners, DSS Challenge Rules, and other important DSS Challenge information is here.

Need some help with Accessories?

Tutorials

Ever find yourself wondering just how someone managed to create an image using different effects?

Here are three simple tutorials we hope will encourage you to try something new.

The Hot Seat

A lifelong interest in landscape photography has led Eyal Oren to make a study of his adopted hometown of Marblehead, MA. As you can see, his dedication is paying off!

Africa!

Dgrinners Harryb, Pathfinder, and others joined Andy Williams and Marc Muench on Safari in East Africa recently. Here are some awesome threads to check out!

 
Thread Tools Display Modes
Old May-31-2012, 01:47 AM
#1
redannie is offline redannie OP
grimace / grin
redannie's Avatar
Only one Google font per site?
Hiya!

I'm working on this site: http://leeallenphotography.smugmug.com/

I want to include two very different Google fonts as I'm matching the appearance of this smugmug site to the main site which is hosted elsewhere through Squarespace - and on which I have two Google fonts in use (Raleway and Bowlby One SC). To make the fonts work, I've added them to the bottom Javascript, and each one works individually, but when I have both in the Javascript, it defaults to using only one of them.

Am I doing something wrong? Have I missed a closing bracket somewhere? Have I got too many !importants? Does Smugmug only allow one custom font for some reason?

I'm no coder, just self-taught, so my code might be messy - which I apologise for in advance!

Thanks,

Adrienne
__________________
currently working on: http://leeallenphotography.smugmug.com/
Old May-31-2012, 05:39 AM
#2
Allen is offline Allen
"tweak 'til it squeaks"
Allen's Avatar
Quote:
Originally Posted by redannie View Post
Hiya!

I'm working on this site: http://leeallenphotography.smugmug.com/

I want to include two very different Google fonts as I'm matching the appearance of this smugmug site to the main site which is hosted elsewhere through Squarespace - and on which I have two Google fonts in use (Raleway and Bowlby One SC). To make the fonts work, I've added them to the bottom Javascript, and each one works individually, but when I have both in the Javascript, it defaults to using only one of them.

Am I doing something wrong? Have I missed a closing bracket somewhere? Have I got too many !importants? Does Smugmug only allow one custom font for some reason?

I'm no coder, just self-taught, so my code might be messy - which I apologise for in advance!

Thanks,

Adrienne
See other thread, your CSS has errors in it.
http://www.dgrin.com/showthread.php?t=206581
Old May-31-2012, 06:01 AM
#3
redannie is offline redannie OP
grimace / grin
redannie's Avatar
Figured it out (with help from you lot!) - Google fonts gets you to choose the ones you want there, and collates it into one chunk of Javascript - I was failing because I was trying to insert JS twice. All sorted, huzzah! :)
__________________
currently working on: http://leeallenphotography.smugmug.com/
Tell The World!  
Tags
custom fonts , customisation , google fonts
Similar Threads Thread Starter Forum Replies Last Post
Customizing: Customizers-for-Hire Andy SmugMug Customization 213 Feb-18-2011 12:01 PM
Google Site Search Darter02 SmugMug Customization 4 Dec-30-2010 03:38 PM
Setting up 'Site Search' in my Google Analytics Amos SmugMug Customization 0 Sep-20-2009 06:41 PM
Font Size Increase on entire site ClaireT SmugMug Customization 4 Aug-07-2009 04:06 PM
FH: Website Optimization for Photographers Tampa-Photography For Hire 3 Mar-05-2009 07:18 AM


Thread Tools
Display Modes

Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump