Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Cannot access https fonts from http

  • This topic is empty.
Viewing 15 posts - 1 through 15 (of 25 total)
  • Author
    Posts
  • #45457
    tannercampbell
    Participant

    So here’s the problem, it’s a doozy.

    https://weitzinvestments.com/press

    Note the font in the menu at the top of the website as well as the font in the vertical menu that starts with “Company Overview”. These fonts are CartoGothicStdBook, 1em.

    Go ‘head and click on “Company Overview”. It becomes bold; CartoGothicStdBold, 1em. Note that all the other fonts remain CartoGothicStdBook, 1em.

    Now go ‘head and click on “Image & Video Library”. Now look at the fonts in both menus. They have changed from the CartoGothicStdBold & Book to a plain sans-serif fallback. They remain 1em.

    There’s nothing wrong with the CSS, it’s below.

    Here’s the tricky part: “Images & Video Library” are on http://weitzinvestments.com while the rest of the site is on https://weitzinvestments.com. We had to do this because Vimeo, for whatever reason, didn’t like https and that’s who we use in the “Images & Video Library” section.

    This is a puzzle I can’t seem to solve. I’ve tried everything I know, I’m at the end of my rope. Can anyone help?

    If you look at the console you’ll see that it’s failing to load the fonts – I have no idea why.

    .content-side-nav {
    font-family: “CartoGothicStdBook”, sans-serif;
    font-size: 1em; }
    .content-side-nav li {
    border-bottom: 1px solid #e3e6e8; }
    .content-side-nav a, .content-side-nav a:visited {
    font-family: “CartoGothicStdBook”, sans-serif;
    display: block;
    width: 140px;
    text-decoration: none;
    color: #67747c;
    margin: 3px 0; }
    .content-side-nav a:hover {
    color: #5fa75a; }
    .content-side-nav span {
    display: block;
    width: 120px;
    margin: 0 auto;
    padding: 5px 0; }
    .content-side-nav .selected a {
    font-family: “CartoGothicStdBold”, sans-serif;
    font-weight: bold;
    background: #aeb7bd;
    color: white; }

    #138379
    Alen
    Participant

    Images & Video Library link is not loading for me.

    Got it to load, but it took FORVER.

    Default font am getting is Verdana not CartoGothicStdBold.

    #138382
    Senff
    Participant

    OK it may be me, but it’s all working fine for me on Win7/Chrome… CartoGothicStdBook all around.

    #138383
    chrisburton
    Participant

    @tannercampbell Works for me as well. What browser are you using and can you clear your browser cache to double check that it isn’t working?

    #138390
    chrisburton
    Participant

    I can assure you that I know the different between Verdana and CartoGothic.

    Initially I didn’t check the Image/Video gallery tab. But now that you clarified it, I don’t see CartoGothic rendering but rather Verdana. Let me take another look.

    #138391
    tannercampbell
    Participant

    That’s why I’m glad you’re here @ChrisBurton – you’re a font jedi.

    #138392
    chrisburton
    Participant

    @tannercampbell Are you aware that you have Verdana set in some places but not CartoGothic? Such as h3’s.

    #138393
    chrisburton
    Participant

    What you pointed out in your screenshot above that is “No Good” renders CartoGothic.

    #138394
    tannercampbell
    Participant

    … in the No Good image the font being rendered is Verdana. In the image you posted it’s CartoGothicStdBook – what browser are you using?

    #138395
    tannercampbell
    Participant

    I’m not as font savvy as you are @ChrisBurton … maybe in my No Good the top is CartoGothicStdBook and the vertical menu is Verdana.

    #138396
    chrisburton
    Participant

    > what browser are you using?

    Chrome

    Update: Your mime types are wrong. Can you post your htaccess file with the mime types you specified?

    #138398
    tannercampbell
    Participant

    Because of the sensitivity of the site I can’t do that. I don’t set MIME types so can you tell me what I’m looking for? I can copy past part of it, but not the whole thing.

    #138399
    tannercampbell
    Participant

    @ChrisBurton, holy shit you’re right they do both show Verdana. Jeeze you have a good eye.

    #138397
    chrisburton
    Participant

    @tannercampbell Hmm. In the console it shows issues with the mime type. Would you be able to talk privately and show me the htaccess?

    #138401
    tannercampbell
    Participant

    Sure. How?

Viewing 15 posts - 1 through 15 (of 25 total)
  • The forum ‘CSS’ is closed to new topics and replies.