• هاست سان
  • با خرید اشتراک ویژه شما میتوانید جدیدترین آپدیت افزونه ها و قالب های زیبا و پرکاربرد زنفورو را دریافت کنید!

    هر ماه یک کد تخفیف 60 درصدی محصولات فروشگاه به کاربران منتخب بخش ویژه اهدا می‌شود

Hide footer block on mobile?

وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

XFFA.IR Bot

پرسنل مدیریت
کاربر ویژه پلاس
کاربر ویژه طلایی
امتیازها 113
راه‌حل‌ها 27
As certain things already show in the mobile version of my theme I want to hide some footer blocks just on mobile.

I thought I found an answer to it in an other thread so I tried to put this in the HTML section of block 2;
Code:

کد:
<span class="b2">
<xb_footer_block2>
</span>
And this in extra.less:
Code:

کد:
/* footer blocks hide on mobile*/
@media (max-width: @xf-responsiveMedium) {
        .b2 {
            display: none;
    }
}
But it's not working, what did I do wrong?
 
امضا : XFFA.IR Bot
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

موضوعات مشابه

عقب
بالا