星收視率節目「SSSSS」,而不是星號 - woocommerce我的產品頁面的
截圖顯示其代替明星SSSSS
。我剛剛升級了我的主題和woocommerce與最新版本,並開始面臨這個問題。在此之前,一切都很好。
我已經搜索了該問題,但無法獲得任何解決方案。可能是什麼問題?我是新點點woocommerce
我已經檢查css
文件,我表示'\53\53'
& \73\73
符號,我需要與\e021
來更換呢?
UPDATE:
此代碼已經存在在我擁有woocommerce.scss
/**
* Star ratings
*/
.star-rating {
float: right;
overflow: hidden;
position: relative;
height: 1em;
line-height: 1;
font-size: 1em;
width: 5.4em;
font-family: 'star';
&::before {
content: '\73\73\73\73\73';
color: darken($secondary, 10%);
float: left;
top: 0;
left: 0;
position: absolute;
}
span {
overflow: hidden;
float: left;
top: 0;
left: 0;
position: absolute;
padding-top: 1.5em;
}
span::before {
content: '\53\53\53\53\53';
top: 0;
position: absolute;
left: 0;
}
}
.woocommerce-product-rating {
@include clearfix();
line-height: 2;
display: block;
.star-rating {
margin: 0.5em 4px 0 0;
float: left;
}
}
「我檢查過css文件,並顯示'\ 53 \ 53'和\ 73 \ 73符號我需要用\ e021替換它嗎?」好?你嘗試過嗎?發生了什麼? – helgatheviking
我試過它在螢火蟲,但它不工作。 – DD77
Firebug並不總是像更改CSS和加載頁面一樣。你確認字體*是*加載?字體不加載或者試圖顯示字體中不存在的字符(例如:使用錯誤的字符作爲所需的圖標)。 – helgatheviking