Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Marrria

Newbie
  
  • Posts

    3
  • Joined

  • Last visited

Marrria's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Вобщем, так я и не поняла, как это решить. Нашла похожий шрифт на google fonts и он заработал.
  2. Спасибо, что откликнулись. Да, я как раз положила в корень сейчас и, к сожалению, никакого результата. Если просто прописываю какой-нибудь стандартный шрифт в заголовке h3 типа impact, он спокойненько себе меняется. Так что, видимо, cufon не менее важный по стилям.. Тема у меня самая стандартная, вряд ли там какой-то наворот. Скорее всего, я в чем-то ошибаюсь, но я уже много раз посмотрела и в упор не вижу- почему оно может не работать...
  3. Здравствуйте! Очень надеюсь на помощь здесь. Мне нужно установить нестандартный шрифт nautilus pompilius. Я пробовала подключить 2 путями. Через cufon и через сгенерированный код на fontsquirrel.com. Но ни там, ни там ничего не вышло. Никак не могу понять, что я делаю не так. Через я добавила fontsquirrel.com в /catalog/view/theme/default/stylesheet/stylesheet.css (пробовала так же и без прямого адреса, результат тот же. права доступа на шрифты поставила 755/) @font-face { font-family: 'nautilus_pompiliusregular'; src: url('http://xn--e1akcchdbdwg7e2ah.xn--p1ai/fonts/nautilus-webfont.eot'); src: url('http://xn--e1akcchdbdwg7e2ah.xn--p1ai/fonts/nautilus-webfont.eot?#iefix') format('embedded-opentype'), url('http://xn--e1akcchdbdwg7e2ah.xn--p1ai/fonts/nautilus-webfont.woff2') format('woff2'), url('http://xn--e1akcchdbdwg7e2ah.xn--p1ai/fonts/nautilus-webfont.woff') format('woff'), url('http://xn--e1akcchdbdwg7e2ah.xn--p1ai/fonts/nautilus-webfont.ttf') format('truetype'), url('http://xn--e1akcchdbdwg7e2ah.xn--p1ai/fonts/nautilus-webfont.svg#nautilus_pompiliusregular') format('svg'); font-weight: normal; font-style: normal; } h3 { font-family: 'nautilus_pompiliusregular';} А с cufon я сгенерировала на сайте js файл., скачала cufon.yui.js . Обоим файлам поставила 755 , а в /catalog/view/theme/default/template/common/header.tpl прописала следующие строки <script type="text/javascript" src="js/cufon-yui.js"></script> <script type="text/javascript" src="js/nautilus_pompilius_400.font.js"></script> И h3 {font-family: 'nautilus_pompilius_400';} не работает. :(
×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.