简体   繁体   English

为什么我网站上的所有文本都是大写

[英]Why all the text in my site is in upper case

I downloaded some free web templates and updating the site as per my needs. 我下载了一些免费的Web模板,并根据需要更新了网站。 I observed most of site content is displayed in upper case. 我观察到大多数网站内容都以大写形式显示。 Can someone help me, how to disable this? 有人可以帮我,如何禁用此功能? Attached is the screenshot of the page. 附件是页面的屏幕截图。 All links and content is displayed in uppercase. 所有链接和内容均以大写形式显示。

How to display this in normal case letters? 正常情况下如何显示?

在此处输入图片说明

Following is my html before body 以下是我的身体之前的HTML

<!DOCTYPE html>
<html>
    <head>
        <title>Freee-Learn. Your learning partner...</title>
        <link href="css/bootstrap.css" rel="stylesheet" type="text/css" media="all" />
        <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
        <script src="js/jquery-1.11.0.min.js"></script>
        <!-- Custom Theme files -->
        <!--theme-style-->
        <link href="css/style.css" rel="stylesheet" type="text/css" media="all" />  
        <!--//theme-style-->
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="keywords" content="Free Style Responsive web template, Bootstrap Web Templates, Flat Web Templates, Andriod Compatible web template, Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyErricsson, Motorola web design" />
        <script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
        <!--fonts-->
        <link href='http://fonts.googleapis.com/css?family=Alegreya+Sans+SC:100,300,400,500,700,800,900,100italic,300italic,400italic,500italic,700italic,800italic,900italic' rel='stylesheet' type='text/css'>
        <link href='http://fonts.googleapis.com/css?family=Lato:100,300,400,700,900,100italic,300italic,400italic,700italic,900italic' rel='stylesheet' type='text/css'>
        <!--//fonts-->
        <script type="text/javascript" src="js/move-top.js"></script>
        <script type="text/javascript" src="js/easing.js"></script>
        <script type="text/javascript" src="js/myJavaScript.js"></script>
        <!-- start menu -->
        <script src="js/simpleCart.min.js"> </script>
        <link href="css/memenu.css" rel="stylesheet" type="text/css" media="all" />
        <script type="text/javascript" src="js/memenu.js"></script>
        <script>$(document).ready(function(){$(".memenu").memenu();});</script>
    </head>

And also i observed, when the internet is off, the site is displayed in normal case letters. 我还观察到,当互联网关闭时,该站点以正常情况下的字母显示。

It's the fonts that you're using in the website. 这是您在网站中使用的字体。 The fonts are downloaded from an Google API. 字体是从Google API下载的。 Download the fonts to use locally or use another font. 下载字体以在本地使用或使用其他字体。

One of the web fonts you're leveraging ( Alegreya Sans SC ) is only available as a small caps family. 您使用的一种网络字体Alegreya Sans SC )仅作为小型大写字体提供。 When your "internet is off", the web font is not being loaded and therefore a default family is leveraged which most likely supports lower case. 当您的“互联网关闭”时,不会加载Web字体,因此将利用默认家族,该家族很可能支持小写字母。

To fix this, find where you're using Alegreya Sans SC within your stylesheets and simply switch to a more multi-case friendly family. 要解决此问题,请在样式表中找到您在哪里使用Alegreya Sans SC ,然后简单地切换到更适合多案例的家庭。

看起来是Google字体Alegreya导致了此google.com/fonts/specimen/Alegreya+Sans+SC

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM