XF 1.4 Disable node's latest post (with RSS link) for mobile

sgr

Active member
How do I disable the node's latest post which occurs right next to the note title along with the RSS link for mobile? It's disabled by default for all themes except the default XenForo theme. This is messing up the forum's look on mobile as the title does not get space because of the "Latest:" block.
 
You can use a media query coupled with the class for the icon and display:none.

There is a link in my signature for the responsive design guide.
 
In node-list.css, the responsive properties that are set for all themes which I have are same (the responsive widths are same too). They work for all but the default theme.

The sub-forum list, RSS icon and latest post block does not go away in the xf default theme even though the responsive code is same as other themes.
They do go away in other themes ...

What should I do?
 
This code is already there as it is in other themes but isn't working for the default theme:


HTML:
.Responsive .node .nodeControls
    {
        display: none;
    }
      
      
  
    .Responsive .node .subForumList
    {
        display: none;
    }


On manually adding .nodeControls { display: none; } outside the responsive block makes it go, but it isn't working inside the responsive block (<xen:if is="@enableResponsive">). The other things for the responsive themes seem to be working fine, like the sidebar moving to the bottom from the right.

Any advice, @Brogan?
 
You will need to revert whatever change you have made to stop it working.

The default functionality at the narrow view is for the entire block to disappear.

upload_2015-3-9_9-25-10.webp
 
Hmm. What do you recommend: revert all changes to templates and style properties or install the default theme all over again? Both would produce the same result, correct?
 
List the customised components in the style and start looking at the most likely templates, which will be css or html templates related to the forum index.
 
Did that. Didn't help. Restored all templates by removing the modifications and no change.

I've PM'd you the link if you want to see the issue for yourself. If you resize the browser window to varying widths, you'll be able to see the problem.
 
Back
Top Bottom