با سلام
من یه صفحه ای دارم تمام فونتهاشو تبدیل به b yekan کردم اما منوش فونتش عوض نمیشه ببینین این کارم کردم یه کد از منوش رو هم میزام ببینین
سی اس اس اس رو هم عوض کردم اما منو فونتش عوض نمیشه
کد منو در اچ دی ام ال
<li class="active"><a href="index.html" >خانه</a></li>
عوض نمیشه
کد سی اس اس که تعریف کردم
/* Import Fonts */
@font-face {
font-family: 'B yekan';
src: url("fonts/BYekan.ttf") format("truetype"), url('fonts/BYekan.eot') format('eot'), url('fonts/BYekan.woff'), url('http://ifont.ir/svg/byekan.svg') format('svg');
font-weight: normal;
}
/* Import Fonts */
@font-face {
font-family: 'B yekan';
src:url("/Fonts/BYekan.ttf") format("truetype") ,
url('../fonts/BYekan.eot') format('eot'),
url('../Fonts/byekan.otf') format('opentype'),
url('../Fonts/BYekan.woff'),
url('http://ifont.ir/svg/byekan.svg') format('svg');
font-weight:normal;
}
body {
font-family: 'B yekan';
font-size: 14px;
line-height: 21px;
font-weight: 400;
-webkit-font-smoothing: antialiased;
font-smoothing: antialiased;
color: #777;
background: #000;
}
h1, h2, h3, h4, h5, h6, li, a, p, ul, u, body, form, div, span, nav {
font-family: 'B yekan';
color: #fff;
font-weight: normal;
letter-spacing: 1px;
}
ul {
font-family: 'B yekan';
}
li {
font-family: 'B yekan';
}
a {
font-family: 'B yekan';
}
از css هاش بود ممنون
برای اینکه متوجه ایرادات Cssبشین بهتره یه inspect بگیری و از بالا شروع کنی ببینی کجا داره کارت تغییر میکنه و با زدن و برداشتن تیک ها خیلی راحت متوجه میشی
هیچ کاربری تا کنون از این پست تشکر نکرده است
با ما تماس بگیرید تا در این مسیر همراهتان باشیم :)