Tips and Tricks HQ Forum

Support Forum for Tips and Tricks HQ Products

Register or Log in

Lost password? (Having an issue with the forum login?)

Search the Forum

Our Products

Tips and Tricks HQ Forum » WP eStore Forum » WP eStore Tweaks
[Answered]

WP eStore Product Custom Description Length using CSS Tweaks

(2 posts) (2 voices)
  • Started 3 years ago by wondervegas
  • Latest reply from admin
  • Possible Solutions (Related Topics):
    1. eStore product description duplication
    2. Creating customer history page with eStore or different product
    3. eStore product fancy display shortcode modification - Can I hide description?
    4. eStore - how to create category list without product description
    5. eStore - Changing thumbnail of product accordingly with custom variation

Tags:

  • css
  • css tweaks
  • customize
  1. wondervegas
    Member

    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

    Posted 3 years ago #
  2. admin
    Key Master

    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
    Posted 3 years ago #

RSS feed for this topic

Reply

You must log in to post.

Tips and Tricks HQ  | WP eStore Plugin  | WP Affiliate Plugin  | WP eMember Plugin  | Projects