XenForo I figured out how to remove single line breaks on mobile but leave them on desktop

M

MapleOne

Guest
Code #1
Code:

Code:
/* Remove Line Breaks on Mobile */
@media (max-width: @xf-responsiveMedium)
{div.remove_br_mobile {display: none !important;}}

I am really picky on my mobile view and with the placement of ads I sometimes get an extra line break I don't see on desktop.

So I wrap the br in a div and name it remove_br_mobile

With the css code above I can remove all the designated line breaks I want with one piece of css assuming the line break is wrapped in the div.



However..... there...

Read more

Continue reading...