امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
In an addon I'm working on, I have this in a.less file:
CSS:
Now the only way to get that style property to apply to the template when I change it from yes to no is to save the .less template.
I seem to remember coming across this before,and there was a way to rebuild the template/cache to apply the changes to the style property.
CSS:
کد:
<xf:if is="property('ozzmodz_fm_mobile') == 'no'" >
@media (max-width: @xf-responsiveMedium)
{
display: none;
}
</xf:if>
Now the only way to get that style property to apply to the template when I change it from yes to no is to save the .less template.
I seem to remember coming across this before,and there was a way to rebuild the template/cache to apply the changes to the style property.
