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

Remove Node Elements [or show them only on hover] [Deleted]

Discussion in 'Template Modifications' started by BassMan, Mar 23, 2014.

  1. BassMan

    BassMan Well-Known Member

    BassMan submitted a new resource:

    Remove Node Elements - Remove (and show on hover) Node Stats, remove RSS Icon and Last Posts

    Read more about this resource...
     
  2. bluemartian

    bluemartian Member

    I like this but I'm wondering how to make the hover work for level2 nodes?
     
  3. BassMan

    BassMan Well-Known Member

    Haven't found a solution yet...
     
  4. bluemartian

    bluemartian Member

    Code:
    /* Remove and show Node Stats on hover */
    
    .node.level_2 .nodeStats {opacity: 0;}
    .node.level_2:hover .nodeStats {opacity: 1;}
    
    <xen:if is="@enableResponsive">
    @media (max-width:@maxResponsiveMediumWidth)
    {
        .node.level_2 .nodeStats
        {
            opacity:1;
        }
    }
    </xen:if>
    
     
    BassMan likes this.
  5. BassMan

    BassMan Well-Known Member

  6. BassMan

    BassMan Well-Known Member

    Tested and works fine. Thanks for saving my time.
     
  7. iamjudd

    iamjudd Active Member

    Is it possible to do only on a specific forum?
     
  8. BassMan

    BassMan Well-Known Member

    Sorry, not right now.
     
  9. BassMan

    BassMan Well-Known Member

  10. jauburn

    jauburn Well-Known Member

    Love this. I have modified mine so that it shows Node Stats all the time (no transparency):

    /* START - REMOVE NODE ELEMENTS add-on */
    /* Remove and show Node Stats on hover */
    .node.level_2 .nodeStats {
    opacity: 1;
    }
    .node.level_2:hover .nodeStats {
    opacity: 1;
    }
    <xen:if is="@enableResponsive">
    @media (max-width:mad:maxResponsiveMediumWidth)
    {
    .node.level_2 .nodeStats
    {
    opacity:1;
    }
    }
    </xen:if>
    /* Remove Node RSS Icon */
    .nodeList .nodeControls {
    display: none;
    }
    /* Remove Node Last Posts */
    .nodeList .nodeLastPost {
    display: none;
    }
    /* END - REMOVE NODE ELEMENTS add-on */
     
    BassMan likes this.
  11. BassMan

    BassMan Well-Known Member

    Great!

    Yes, you can edit the code to suit your needs.
     
    jauburn likes this.
  12. jauburn

    jauburn Well-Known Member

    One of the great things about xenforo is this wonderful community that has been drawn to it.
     
    BassMan likes this.
  13. BassMan

    BassMan Well-Known Member

    This resource has been removed and is no longer available for download.
     

Share This Page