Home Forums WoodMart support forum проблема отображения знача валюты у цены на смартфоне.

проблема отображения знача валюты у цены на смартфоне.

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #153316

    ipad48984898ipad
    Participant

    Привет, у меня возникла проблема отображения знача валюты у цена на смартфоне.
    Если вставить слово “руб.” то всё работает, только это слово переносится на другую строку, если товар со скидкой. я вставляю значок валюты, а он отображается как квадратик с вопросительным знаком на смартфоне, на ПК всё нормально. если вставить этот код
    body .woocommerce-Price-currencySymbol{
    font-family:Arial;
    }
    , то становиться виден пустой квадратик. Вставлял код из раздела помощи Google. сначала всё заработало, потом что-то опять сломалось.

    Attachments:
    You must be logged in to view attached files.
    #153374

    Artem Temos
    Keymaster

    Hello,

    Could you please check how it works with some default WordPress theme like twentysixteen to understand is it our theme issue or not?

    Regards

    #153591

    ipad48984898ipad
    Participant

    проверил,не работает везде

    #153697

    Artem Temos
    Keymaster

    It seems to be a well-known issue in WooCommerce with some fonts. You can try to apply the following alternative solution https://inwebpress.ru/woocommerce-vmesto-simvola-rub-kvadrat/

    #153767

    ipad48984898ipad
    Participant

    я вставил этот код, но не работает!

    #153768

    ipad48984898ipad
    Participant

    в первом сообщении фото

    #153788

    Artem Temos
    Keymaster

    Sorry, but we are not responsible for that since it is not our theme’s problem. You can contact WooCommerce developers for help since it is their bug.

    #153798

    ipad48984898ipad
    Participant

    проблема в другом.
    если в код ввести Знак доллара или слово “руб.”, то всё работает, а этот знак не отображается ₽

    Attachments:
    You must be logged in to view attached files.
    #153803

    ipad48984898ipad
    Participant

    в woocommerce при этом всё отображается в главной панеле

    Attachments:
    You must be logged in to view attached files.
    #153806

    ipad48984898ipad
    Participant

    сейчас проверил на теме Twenty Nineteen. всё работает. знак ₽ отображается

    Attachments:
    You must be logged in to view attached files.
    #153829

    Artem Temos
    Keymaster

    Could you please keep the default theme and send us a link where we can see this? Also, attach your current admin access so we can switch to our theme.

    #153840

    ipad48984898ipad
    Participant

    сделал

    #153842

    Artem Temos
    Keymaster

    Default theme uses the font that contains that symbol. You can use the same font if you add the following CSS to the Custom CSS section

    body {
    	font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
    }
    #153846

    ipad48984898ipad
    Participant

    Всё заработало, большое спасибо!

    #153861

    Artem Temos
    Keymaster

    Great, you are welcome.

Viewing 15 posts - 1 through 15 (of 15 total)

The topic ‘проблема отображения знача валюты у цены на смартфоне.’ is closed to new replies.