۲۹-۵-۱۳۹۳, ۱۲:۵۳ صبح
با سلام من یه قالب خارجی رو فارسی کردم ولی یه مشکلی دارم این قالب یه سری اکسترا فیلد در قسمت کی 2 داره با اسامی انگلیسیه من فارسیش کردم مثلا (قیمت =price)
تا اینجا مشکلی نیس ولی در یک فایل سی اس اس از اسم این اکسترا فیلد ها استفاده کرده و بهش استایل داده حالا تو این فایل سی اس اس اسامی جدید که فارسیه رو می نویسم ولی استایل ها کار نمی کنه.
لطفا راهنمایی کنید.
تکه کد css
featured_properties ul{ margin:0px; position:relative;}
.featured_properties ul,.featured_properties ul li{ list-style:none;}
.featured_properties ul.mod-extraFile li.Location span.name,
.featured_properties ul.mod-extraFile li.Bathrooms span.name,
.featured_properties ul.mod-extraFile li.Bedrooms span.name,
.featured_properties ul.mod-extraFile li.BuildingArea span.name,
.featured_properties ul.mod-extraFile li.price span.name,
.featured_properties ul.mod-extraFile li.Status,
.featured_properties ul.mod-extraFile li.PropertyType,
.featured_properties ul.mod-extraFile li.MinPrice,
.featured_properties ul.mod-extraFile li.MaxPrice{ display:none;}
.featured_properties ul.mod-extraFile li.Location{ background:url(../images/bg_location.jpg) center bottom no-repeat; margin-bottom:5px; padding-bottom:10px;}
.featured_properties ul.mod-extraFile li.price{ width:100%; clear:both; padding-bottom:25px;}
.featured_properties ul.mod-extraFile li.price span.value{ font-size:24px; font-weight:bold; color:#da403c;}
.featured_properties ul.mod-extraFile li.Bathrooms,
.featured_properties ul.mod-extraFile li.Bedrooms,
.featured_properties ul.mod-extraFile li.BuildingArea{ position:absolute; bottom:-20px; display:inline-block; font-weight:bold; float:left;}
.featured_properties .vtem_carousel_item .vtem_carousel_title,
.featured_properties .vtem_carousel_item .vtem_carousel_title a{ height:18px; overflow:hidden;}
.featured_properties ul.mod-extraFile li.Bathrooms{
background:url(../images/icon_bathroom.png) right center no-repeat;
padding-right:0px;
width:50px;
left:10px;
}
.featured_properties ul.mod-extraFile li.Bedrooms{
background:url(../images/icon_bedroom.png) right center no-repeat;
padding-right:0px;
width:50px;
left:80px;
}
.featured_properties ul.mod-extraFile li.BuildingArea{
background:url(../images/icon_buidsize.png) right center no-repeat;
padding-right:0px;
width:85px;
right:10px;
}
مثلا به جای bedrooms در اکسترافیلد من نوشتم اتاق خواب . حالا تو اینجا نمیتونم اسم فارسی رو برای استایل استفاده کنم.
تا اینجا مشکلی نیس ولی در یک فایل سی اس اس از اسم این اکسترا فیلد ها استفاده کرده و بهش استایل داده حالا تو این فایل سی اس اس اسامی جدید که فارسیه رو می نویسم ولی استایل ها کار نمی کنه.
لطفا راهنمایی کنید.
تکه کد css
featured_properties ul{ margin:0px; position:relative;}
.featured_properties ul,.featured_properties ul li{ list-style:none;}
.featured_properties ul.mod-extraFile li.Location span.name,
.featured_properties ul.mod-extraFile li.Bathrooms span.name,
.featured_properties ul.mod-extraFile li.Bedrooms span.name,
.featured_properties ul.mod-extraFile li.BuildingArea span.name,
.featured_properties ul.mod-extraFile li.price span.name,
.featured_properties ul.mod-extraFile li.Status,
.featured_properties ul.mod-extraFile li.PropertyType,
.featured_properties ul.mod-extraFile li.MinPrice,
.featured_properties ul.mod-extraFile li.MaxPrice{ display:none;}
.featured_properties ul.mod-extraFile li.Location{ background:url(../images/bg_location.jpg) center bottom no-repeat; margin-bottom:5px; padding-bottom:10px;}
.featured_properties ul.mod-extraFile li.price{ width:100%; clear:both; padding-bottom:25px;}
.featured_properties ul.mod-extraFile li.price span.value{ font-size:24px; font-weight:bold; color:#da403c;}
.featured_properties ul.mod-extraFile li.Bathrooms,
.featured_properties ul.mod-extraFile li.Bedrooms,
.featured_properties ul.mod-extraFile li.BuildingArea{ position:absolute; bottom:-20px; display:inline-block; font-weight:bold; float:left;}
.featured_properties .vtem_carousel_item .vtem_carousel_title,
.featured_properties .vtem_carousel_item .vtem_carousel_title a{ height:18px; overflow:hidden;}
.featured_properties ul.mod-extraFile li.Bathrooms{
background:url(../images/icon_bathroom.png) right center no-repeat;
padding-right:0px;
width:50px;
left:10px;
}
.featured_properties ul.mod-extraFile li.Bedrooms{
background:url(../images/icon_bedroom.png) right center no-repeat;
padding-right:0px;
width:50px;
left:80px;
}
.featured_properties ul.mod-extraFile li.BuildingArea{
background:url(../images/icon_buidsize.png) right center no-repeat;
padding-right:0px;
width:85px;
right:10px;
}
مثلا به جای bedrooms در اکسترافیلد من نوشتم اتاق خواب . حالا تو اینجا نمیتونم اسم فارسی رو برای استایل استفاده کنم.