如何使字体面与所有字母一起工作

发布于 2025-02-06 04:46:25 字数 1270 浏览 1 评论 0 原文

我希望这是我缺少某个地方的CSS冲突,但是该网站在这里: https://bbking2019.wpengine.com/

代码在这里:

/*Set the font face for h3*/
@font-face {
  font-family: carrotflower;
  src: url('/wp-content/uploads/fonts/Carrotflower.eot') format('embedded-opentype'),
       url('/wp-content/uploads/fonts/Carrotflower.woff') format('woff'),
       url('/wp-content/uploads/fonts/Carrotflower.woff2') format('woff2'),
       url('/wp-content/uploads/fonts/Carrotflower.ttf') format('truetype');
}

h3{
    font-family: carrotflower !important;
}

这在所有信件上都可以使用。访客推荐中的Capital V-在浏览器工具中编辑时,小写V与字体完美搭配。

关于如何使资本V工作的任何想法都是很棒的。

提前致谢!

一个示例可以在这里弄乱:

只需将WOFF文件的URL更改为 https://bbking2019.wpengine.com/wp-content/uploads/fonts/fonts/carrotflower.woff

然后在类型的文本中添加AV和A V-资本仍然不起作用。

I am hoping this is a CSS clash some place that I am missing, but the site is here:
https://bbking2019.wpengine.com/

The code is here:

/*Set the font face for h3*/
@font-face {
  font-family: carrotflower;
  src: url('/wp-content/uploads/fonts/Carrotflower.eot') format('embedded-opentype'),
       url('/wp-content/uploads/fonts/Carrotflower.woff') format('woff'),
       url('/wp-content/uploads/fonts/Carrotflower.woff2') format('woff2'),
       url('/wp-content/uploads/fonts/Carrotflower.ttf') format('truetype');
}

h3{
    font-family: carrotflower !important;
}

This works on all the letters EXCEPT the capital V in Visitor Testimonials - when editing in the browser tools a lowercase v works perfectly with the font.

Any ideas on how to make the capital V work would be fantastic.

Thanks in advance!

An example can be messed with here: https://www.w3schools.com/cssref/tryit.asp?filename=trycss3_font-face_rule

Just change out the url for the woff file to https://bbking2019.wpengine.com/wp-content/uploads/fonts/Carrotflower.woff

Then in the type some text and add a v and a V - the capital is still not working.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

情徒 2025-02-13 04:46:25

得益于Rene van der Lende和Joel的一些挖掘,实际上V是/未在字体表中实现的。我们将使用类似的字体围绕它进行处理,并联系创建者。

感谢大家所做的努力。

Thanks to some digging from Rene van der Lende and Joel, indeed the V was/is not implemented in the font table. We are going to work around it with a similar font and contact the creator.

Thanks everyone for your efforts.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文