更新媒体查询中的跨字体(无!重要操作员)
我一直在使用WordPress附加CSS工具来别名并更新照片元素以创建移动响应式网页。我尝试使用相同的方法来调整文本大小,但是我无法访问同类中的SPAN字体大小规格。该论坛上的其他类似问题建议将!重要的操作员添加到字体大小参数中,但这不起作用。如何更新跨度的字体大小?
对于随附的图像
- A:我用于媒体查询的测试空间。客户名称是WP容器中文本框上的别名。我知道我可以在更高级别上别名,但让我们从这里开始。使用原始字体大小为24(请参阅突出显示C),您可以看到页面没有响应大小10pt的规范(忽略图像中的10px;在固定错字时仍然没有响应)。
- B:班级的详细信息
- :类范围内字体大小的详细信息div
I have been using WordPress Additional CSS tool to alias and update photo elements to create a mobile responsive webpage. I've attempted the same approach for resizing text, but I cannot access the span font size specifications within my class. Other similar questions on this forum recommend adding the !important operator to the font size argument, but this does not work. How can I update the font size in the span?
For the attached image
- A: My testing space for the media query. clientName is the alias on the textbox within the WP container. I know I can alias at higher levels, but let's start here. With the original font size at 24 (see highlight C), you can see the page is not responding to the specification for size 10pt (ignore that it says 10px in the image; still doesn't respond when typo is fixed).
- B: Details for the class
- C: Details for the font-size in the span within the class div
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
因为您需要使用内联CSS!
尝试此操作是
Try this Because of the inline CSS you need to use !important
Or