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

XF 1.3 [Responsive] Hide forum discriptions on landscape mode too

imthebest

Well-known member
#1
I noticed that when browsing the forums on responsive mode (portrait) the forum descriptions are hidden (good idea!). However when switching to landscape mode the descriptions appear and it looks bad on a small screen. I'd like to also hide the descriptions on landscape mode just how it happens when on portrait mode. How can I do that? Thanks!
 

Brogan

XenForo moderator
Staff member
#2
You will need to edit the existing CSS to modify the media query width, or create your own and add it to EXTRA.css to override it.
 

imthebest

Well-known member
#3
I prefer editing the existing CSS, how I can do that or what specific lines should I look for? Any guidance will be appreciated.
 

imthebest

Well-known member
#5
I'm on that piece of code but I can't figure where is the snippet that controls whether the node descriptions are displayed or not when on responsive landscape mode... if when on responsive portrait mode the descriptions are hidden then I want the same behavior for responsive landscape mode, seems an easy copy-paste work but can't figure where is the code that controls this.
 

imthebest

Well-known member
#6
I found this:

Code:
<xen:if is="@enableResponsive">
@media (max-width:@maxResponsiveMediumWidth)
{
   .Responsive.Touch .node .nodeDescriptionTooltip,
   .Responsive .node .nodeDescription
   {
     display: none;
   }
   .Responsive .nodeDescriptionTip
   {
     width: auto;
     max-width: 350px;
   }
Where should I work? On the blue line or the red line?