-
AuthorPosts
-
April 17, 2016 at 8:35 am #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, 7 months ago by launchmoxie.
April 17, 2016 at 4:28 pm #615816Shoot me.
Just shoot me.
Bad comment syntax in my CSS. Color me #embarrassed.
Please close this, and <shhhh> don’t tell anyone.
April 17, 2016 at 9:16 pm #615905Hi!
Really glad to hear you solved it! :)
Best regards,
Jordan -
AuthorPosts
- The topic ‘Gah! Struggling with custom fonts and other styling’ is closed to new replies.