Как отключить JL Comments на мобильной версии?

More
5 years 7 months ago #7707 by rdw
Здравствуйте.
Использую JL Comments для обычных материалов. Скажите, можно ли как-то отключить вывод плагина на мобильной версии сайта? Пробовал использовать определение методом фреймворка джумлы $client->mobile, но в силу низкой квалификации у меня ничего не получилось

Please Log in or Create an account to join the conversation.

More
5 years 7 months ago #7709 by JoomLine
Этот метод не будет корректно работать, так как он не корректно определяет мобильные устройства.

Please Log in or Create an account to join the conversation.

More
5 years 7 months ago #7710 by rdw
А каким образом тогда можно отключить плагин на мобильных устройствах?

Please Log in or Create an account to join the conversation.

More
5 years 7 months ago #7712 by JoomLine
самое простое в зависимости от media запросов скрыть блок

Please Log in or Create an account to join the conversation.

More
5 years 6 months ago #7738 by rdw
Можете описать как это сделать?

Please Log in or Create an account to join the conversation.

More
5 years 6 months ago #7747 by JoomLine
Вам надо прописать, что-то типа вот этого в стили вашего шаблона.
@media screen and (max-width: 800px){
#jlcomments_container {
display:none;
}
}

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum

Last from the forum

    • Enhance Your Outdoor Living Space - California Poo...
    • A well-designed pool is more than just a place to swim—it’s the centerpiece of your outdoor living space. Beyond pool construction, we offer a range of additional features and amenities to enhance your backyard oasis. Imagine relaxing spa areas, elegant poolside landscaping, custom lighting options, and integrated waterfalls or fountains. With our holistic approach to outdoor design, we create environments that are both visually stunning and functionally inviting.
    • In English Forum / Plugins
    • Blog prison security
    • Are you in charge of prison security and looking for reliable, state-of-the-art solutions to secure your facilities? Look no further than our advanced prison locks, designed to provide maximum security and peace of mind. At prison locks, we understand the critical importance of maintaining secure environments within correctional facilities. Our are engineered with cutting-edge technology to withstand tampering and unauthorized access, ensuring the safety of inmates, staff, and visitors alike.
    • In English Forum / Component
    • protein powder manufacturer blog
    • Are you looking to elevate your fitness journey and achieve your health goals more efficiently? Look no further than our , crafted with the highest quality ingredients to support muscle growth, recovery, and overall wellness. Our state-of-the-art manufacturing process ensures that each scoop delivers optimal nutrition, providing you with the essential amino acids and nutrients needed to fuel your body and maximize your performance. Whether you're an athlete, a fitness enthusiast, or simply someone striving for a healthier lifestyle, our protein powder is designed to meet your unique needs.
    • In English Forum / Component
© 2010- JoomLine
The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries. joomline.net is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

email: This email address is being protected from spambots. You need JavaScript enabled to view it.