Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #615740

    I was able to get new Google fonts into the Enfold Fonts tab dropdown menus, but now I want to add an additional font, used in blockquotes for instance.

    I’ve tried adding the rules in Quick CSS, and in my child theme’s style.css, but they aren’t getting recognized.

    Now, I _am_ using Cloudflare, but I’ve set up rules to bypass cache for anything in this subdir of /dev. I believe that, at the time of this writeup, webpagetest says that the rule is working, and things are bypassed, unless I’m reading this wrong: http://www.webpagetest.org/result/160417_S1_9YT/ The Cloudflare KB is here (https://support.cloudflare.com/hc/en-us/articles/200169556-How-can-I-tell-if-CloudFlare-is-caching-my-site-or-a-specific-file-), and I’m not seeing any CF-Cache-Status headers.

    There are two examples of the CSS _not_ working:
    1) the Cart slide-in in the upper-right of the home page:
    .page-id-16668 #header_main .cart_dropdown { display: none !important; } .page-id-16668 .html_visible_cart .cart_dropdown {display:none;}
    2) the typeface on /about:

    quote, span.greatquote { font-family: 'petit_formal_scriptregular', cursive !important; }
    @font-face {
        font-family: 'petit_formal_scriptregular';
        src: url('http://www.joinclubm.com/dev/wp-content/themes/enfold-child/petitformalscript-regular-webfont.eot');
        src: url('http://www.joinclubm.com/dev/wp-content/themes/enfold-child/petitformalscript-regular-webfont.eot?#iefix') format('embedded-opentype'),
             url('http://www.joinclubm.com/dev/wp-content/themes/enfold-child/petitformalscript-regular-webfont.woff2') format('woff2'),
             url('http://www.joinclubm.com/dev/wp-content/themes/enfold-child/petitformalscript-regular-webfont.woff') format('woff'),
             url('http://www.joinclubm.com/dev/wp-content/themes/enfold-child/petitformalscript-regular-webfont.ttf') format('truetype'),
             url('http://www.joinclubm.com/dev/wp-content/themes/enfold-child/petitformalscript-regular-webfont.svg#petit_formal_scriptregular') format('svg');
        font-weight: normal;
        font-style: normal;
    }

    Help, please! You guys are my heroes!

    • This topic was modified 8 years, 8 months ago by launchmoxie.
    #615816

    Shoot me.

    Just shoot me.

    Bad comment syntax in my CSS. Color me #embarrassed.

    Please close this, and <shhhh> don’t tell anyone.

    #615905

    Hi!

    Really glad to hear you solved it! :)

    Best regards,
    Jordan

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Gah! Struggling with custom fonts and other styling’ is closed to new replies.