Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2014-09-14 18:09:29

michael
Member
Registered: 2012-11-27
Posts: 88

Navigation font

I cannot get navigation to use the font i want.
I have choosen:
    ["navigation_items.font_family"] = "'Franklin Gothic Medium', 'Arial Narrow Bold', Arial, sans-serif",

My entire page display Franklin Gothic besides navigation that displays Arial

How can i fix this? (i assume worst case i can edit the custom.css but which control to use to override this?)

Offline

#2 2014-09-14 21:33:24

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Navigation font

Can you post a link to your site?


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2014-09-14 21:53:26

michael
Member
Registered: 2012-11-27
Posts: 88

Re: Navigation font

Test site at: ce4.bluehourphotography.net

Offline

#4 2014-09-14 22:13:26

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Navigation font

The only problem I see is that "Franklin Gothic Bold" doesn't exist on my system, so the page is using Arial instead. That's normal.


Matt

The Turning Gate, http://theturninggate.net

Offline

#5 2014-09-14 22:20:03

michael
Member
Registered: 2012-11-27
Posts: 88

Re: Navigation font

it does however work for my footer and this page
http://ce4.bluehourphotography.net/contact.php

Any clues why navigation is different?

Offline

#6 2014-09-14 23:23:08

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Navigation font

this is what's showing for the font in the footer as well as in your main text:
font-family: "anivers-sc",sans-serif;


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#7 2014-09-14 23:38:34

kmlucy
Member
From: Atlanta, GA
Registered: 2013-01-30
Posts: 123
Website

Re: Navigation font

If you are having trouble with fonts, you might want to try this:
http://chengyinliu.com/whatfont.html

It will show you what the font-family for the selected text is, as well as what the actual font being displayed it. It works with Google Fonts and Adobe Typekit as well.


Kyle Lucy Photography
kylelucy.com

Offline

#8 2014-09-15 02:31:48

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Navigation font

Kyle, that is so cool. Thanks for sharing


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#9 2014-09-15 06:38:08

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Navigation font

michael,

If you want to apply your custom css to the nav fonts you'll need to get more specific with the selectors.
This page shows you which selectors are controlling typography for each area of the page:
http://ce4.theturninggate.net/docs/doku … y_template


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#10 2014-09-15 09:12:12

kmlucy
Member
From: Atlanta, GA
Registered: 2013-01-30
Posts: 123
Website

Re: Navigation font

Glad to help!


Kyle Lucy Photography
kylelucy.com

Offline

#11 2014-09-15 16:03:56

michael
Member
Registered: 2012-11-27
Posts: 88

Re: Navigation font

Rod and Kyle.
Thanks to you both for sharing info. I'm sure if will help me finalize the site.

a bit strange though as i have no reference to anivers-sc in my code wink

Offline

#12 2014-09-15 18:27:17

lofty
Member
From: UK
Registered: 2012-09-26
Posts: 259
Website

Re: Navigation font

Kyle, that's an excellent tool thanks for the link.

Offline

#13 2014-09-15 21:56:49

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Navigation font

a bit strange though as i have no reference to anivers-sc in my code

Actually, I think you do. Anivers-sc is at Typekit font and you've inserted a script via phplugins that appears to be loading Typekit. The Anivers-sc font reference can be found there.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#14 2014-09-27 17:27:49

michael
Member
Registered: 2012-11-27
Posts: 88

Re: Navigation font

Still struggling with font and getting lost wink
Have added 'Anivers SC' to my typekit and loaded that in phplugins, have changed ALL css selectors to
        font-family: 'Anivers SC';

Result is that I simply cannot have navigation to use my fonts for some reasons (and form is broken to):
http://ce4.bluehourphotography.net/contact.php

Appreciate ANY assistance here as this is the last outstanding before going live...

Offline

#15 2014-09-28 13:02:49

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Navigation font

When you say "form is broken", do you mean that it's not sending? Or are you only referring to the fonts not being applied to the form labels?


Matt

The Turning Gate, http://theturninggate.net

Offline

#16 2014-09-28 13:10:43

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Navigation font

This is being applied to 'body' and to the navigation:

font-family: 'Anivers SC';

... and it's not working.

Elsewhere, where your custom fonts ARE working, you have this:

font-family: "anivers-sc",sans-serif;

Updating the former to the latter effects your font change in all places.

So, to be more abstract and more specific all at once ...

This is what's happening, and it's not working:

body,
p#nav a, #r2d2-menu ul li a, #r2d2-menu ul#nav li span {
    font-family: 'Anivers SC';
    }

Note that this piece of code doesn't exist anywhere in your source. I'm just putting things together for purposes of explanation.

What would fix your issue, would be to effect these changes:

body,
p#nav a, #r2d2-menu ul li a, #r2d2-menu ul#nav li span {
    font-family: "anivers-sc",sans-serif;
    }

Matt

The Turning Gate, http://theturninggate.net

Offline

#17 2014-09-29 14:08:40

michael
Member
Registered: 2012-11-27
Posts: 88

Re: Navigation font

a HUGE and sincere thanks - all working as expected now smile

Offline

Board footer

Powered by FluxBB