Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

WP eStore Product Custom Description Length using CSS Tweaks

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › WP eStore Product Custom Description Length using CSS Tweaks

Tagged: css, css tweaks, customize

  • This topic has 1 reply, 2 voices, and was last updated 8 years, 9 months ago by admin.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • August 12, 2016 at 1:15 am #13649
    wondervegas
    Participant

    Under additional product details under product description is it possible to include a class for this part so I may add some css code like:

    .custom-css {text-overflow: ellipsis; width: 15ch;}

    This way if description are of different length I can make them more uniform on the products listing pages.

    In what template would this be if I have to do it myself. I can’t seem to find it anywhere. I’d like to use fancy style 10

    August 12, 2016 at 2:03 am #73938
    admin
    Keymaster

    Remember you can use HTML code in the product description field. So you can wrap your description using any custom CSS class you want. Then apply your tweak from the CSS file.

    Alternatively, you can edit the PHP code of the plugin and add any custom CSS class that you want (the above mentioned option would be better in my opinion).

    The fancy10 display template comes from the extra shortcodes addon. So if you wanted to modify the PHP code, then look in the “show_wp_eStore_fancy10” function from the following file:

    eStore-extra-shortcodes/shortcode_include.php

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ