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

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

Discussion in 'Styling and Customization Questions' started by sgr, Mar 5, 2015.

  1. sgr

    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.
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    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.
     
  3. sgr

    sgr Active Member

    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?
     
  4. sgr

    sgr Active Member

    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?
     
  5. Brogan

    Brogan XenForo Moderator Staff Member

    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.png
     
  6. sgr

    sgr Active Member

    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?
     
  7. Brogan

    Brogan XenForo Moderator Staff Member

    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.
     
  8. sgr

    sgr Active Member

    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.
     

Share This Page