- This topic has 1 reply, 2 voices, and was last updated 8 years, 3 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
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
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
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