• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.3 How to remove forum descriptions from the homepage ONLY on mobile devices?

markku

Well-known member
#1
I would like to remove the forum descriptions from the homepage from showing on mobile devices, such the iPad etc.

Is there possibly an easy way to achieve this?

Thanks in advance!
 

Steve F

Well-known member
#2
This should work from the widest responsive width down to the narrowest. Add it to the bottom of EXTRA.css

Code:
<xen:if is="@enableResponsive">
@media (max-width:@maxResponsiveWideWidth)
{
        .node .nodeDescription
        {
                display: none;
        }
}
</xen:if>
 

Brogan

XenForo moderator
Staff member
#3
That will remove it from responsive styles for all devices.
There is no conditional statement to target mobile devices only.