Home Forums WoodMart support forum Product Grid Short Description Limit

Product Grid Short Description Limit

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #443019

    ignitionstudio
    Participant

    Hello! I am hoping you could help me set a limit to the short description/excerpt on the product grid. Based on information client is using to guide customer, category will not work for the one line of information I wish to appear on the hover/quick view on a product grid. I wish for the first line of the short description to appear, but to keep the bullet list still in the short description so when on single product that info is all there… Is this possible? Right now I get the ellipsis to expand the short description or even some of the top of the characters show, but I just would like to see only the first line and anything below the <hr> would be hidden on hover but available on the product detail page. Thanks!

    Attachments:
    You must be logged in to view attached files.
    #443109

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Global:

    body .hover-content-inner ul{
    max-height:60px;
    }

    Best Regards

    #443400

    ignitionstudio
    Participant

    I was hoping for a function code that would truncate the content, but based on this feedback, CSS did the trick and this was the solution that worked best for me…

    .wd-more-desc {max-height:60px !important;}
    .wd-more-desc .wd-more-desc-btn {display:none !important;}

    thanks for the assist!

    #443459

    You are welcome! We are here to help.

    Wish you a wonderful day!

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Product Grid Short Description Limit’ is closed to new replies.