elizerd 0 Posted July 29, 2020 Report Share Posted July 29, 2020 Здравствуйте. Подскажите, пожалуйста, как удалить эмблемы в мобильной версии сайта, при просмотре информации о матче? https://atalantabc.ru/event/chempionat-italii-tur-35/ Вот тут отметил что нужно удалить — http://b.radikal.ru/b08/2007/11/21b027173e4d.jpg Очень криво получается, при просмотре через смартфон… Quote Link to post Share on other sites
petroff 647 Posted July 29, 2020 Report Share Posted July 29, 2020 (edited) ______ Edited July 29, 2020 by petroff Перегрелся Quote Link to post Share on other sites
ToneR 249 Posted July 29, 2020 Report Share Posted July 29, 2020 Попробуйте добавить в style.css ваше темы, в самый конец код: @media screen and (max-width:400px){ .sp-team-logo img { display:none; } } Не забудьте несколько раз обновить страницу комбинацией ctrl+f5, после внесения изменений. Quote Link to post Share on other sites
elizerd 0 Posted July 29, 2020 Author Report Share Posted July 29, 2020 1 час назад, ToneR сказал: Попробуйте добавить в style.css ваше темы, в самый конец код: @media screen and (max-width:400px){ .sp-team-logo img { display:none; } } Не забудьте несколько раз обновить страницу комбинацией ctrl+f5, после внесения изменений. ничего не изменилось.. Quote Link to post Share on other sites
Anjel 58 Posted July 30, 2020 Report Share Posted July 30, 2020 Значить в стилях пропишите так: @media screen and (max-width:600px){ .sp-template img{ display:none; } } Хотя, если бы я делал для себя, то сделал бы вот так: @media screen and (max-width:600px){ .sp-template-event-logos .sp-team-name{display: block} } Но тут уже дело вкуса. Мне с картинками просто больше нравится. ToneR 1 Quote Link to post Share on other sites
elizerd 0 Posted July 30, 2020 Author Report Share Posted July 30, 2020 4 часа назад, Anjel сказал: @media screen and (max-width:600px){ .sp-template img{ display:none; } } ничего не изменяет, к сожалению. 4 часа назад, Anjel сказал: @media screen and (max-width:600px){ .sp-template-event-logos .sp-team-name{display: block} } вот как получилось во втором варианте Уже лучше, но было бы отлично, если бы в один ряд были эмблемы) слева и справа.. Но и на том спасибо) Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.