Дипломник - Репутация: 5
- Webmoney BL: ?
| Уважаемые мастера! ))) Прошу помощи в таком, вроде бы, простом вопросе. Есть сайт
Скрытый текст (вы должны войти под своим логином или зарегистрироваться и иметь 1 сообщение(ий)): У вас нет прав чтобы видеть скрытый текст, содержащийся здесь. | Поставил новый шрифт. Как поставил? В css вставил такую строку:
PHP код: @font-face {
font-family: "officinasans";
src: url("http://profitgates.ru/fonts/officinasansbookc-webfont.eot");
font-weight: normal;
font-style: normal; }
@font-face {
font-family: "officinasans";
src: url("http://profitgates.ru/fonts/officinasansbookc-webfont.svg") format("svg"), url("http://profitgates.ru/fonts/officinasansbookc-webfont4.woff") format("woff");
font-weight: normal;
font-style: normal; }
@font-face {
font-family: "officinasans";
src: url("http://profitgates.ru/fonts/officinasansboldc-webfont.eot");
font-weight: bold;
font-style: normal; }
@font-face {
font-family: "officinasans";
src: url("http://profitgates.ru/fonts/officinasansboldc-webfont.svg") format("svg"), url("http://profitgates.ru/fonts/officinasansboldc-webfont1.woff") format("woff");
font-weight: bold;
font-style: normal; }
@font-face {
font-family: "officinaserif";
src: url("http://profitgates.ru/fonts/officinaserifboldc-webfont.eot");
font-weight: bold;
font-style: normal; }
@font-face {
font-family: "officinaserif";
src: url("http://profitgates.ru/fonts/officinaserifboldc-webfont.svg") format("svg"), url("http://profitgates.ru/fonts/officinaserifboldc-webfont.woff") format("woff");
font-weight: bold;
font-style: normal; }
html { width:100%; margin:0 auto;
font-family: "officinasans", "officinaserif", Arial;
font-size: 16px; font-weight: normal;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
-webkit-font-smoothing: antialiased !important;}
body {
color: #555;
background:#fff;
font-family: "officinasans", "officinaserif", Arial;
font-size: 16px; font-weight: normal;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
-webkit-font-smoothing: antialiased !important;
line-height:1.8em;
-webkit-font-smoothing: antialiased !important;}
И в Index.php Тоже ?на всякий случай? (по крайней мере это решило часть проблем)
PHP код: <style type="text/css">
@font-face {
font-family: "officinasans";
src: url("http://profitgates.ru/fonts/officinasansbookc-webfont.eot");
font-weight: normal;
font-style: normal; }
@font-face {
font-family: "officinasans";
src: url("http://profitgates.ru/fonts/officinasansbookc-webfont.svg") format("svg"), url("http://profitgates.ru/fonts/officinasansbookc-webfont4.woff") format("woff");
font-weight: normal;
font-style: normal; }
@font-face {
font-family: "officinasans";
src: url("http://profitgates.ru/fonts/officinasansboldc-webfont.eot");
font-weight: bold;
font-style: normal; }
@font-face {
font-family: "officinasans";
src: url("http://profitgates.ru/fonts/officinasansboldc-webfont.svg") format("svg"), url("http://profitgates.ru/fonts/officinasansboldc-webfont1.woff") format("woff");
font-weight: bold;
font-style: normal; }
@font-face {
font-family: "officinaserif";
src: url("http://profitgates.ru/fonts/officinaserifboldc-webfont.eot");
font-weight: bold;
font-style: normal; }
@font-face {
font-family: "officinaserif";
src: url("http://profitgates.ru/fonts/officinaserifboldc-webfont.svg") format("svg"), url("http://profitgates.ru/fonts/officinaserifboldc-webfont.woff") format("woff");
font-weight: bold;
font-style: normal; } </style>
А так же, во всех модулях joomla, где шрифт прописывался, прописал font-family: "officinasans"; Но вот проблема - заходим на сайт, а часть текста не видно. Когда в хроме наводишь мышкой на невидымый текст, нажимаешь "просмотр кода элемента" - всё появляется. Как исправить ситуацию? Сайт сейчас активно кручу, трафик растёт. Как сделать так, чтобы пользователь не смущался и не уходил? Очень прошу помочь! Даже хотя бы за вознаграждения. |