RhinoForce Posted March 4, 2014 Share Posted March 4, 2014 On the category pages of my store, when I input content into the backend of the Presta site, on the front end, instead of the entire content showing up, it only shows part of it in the text box and then has "more" there where people can click to expand the box. I'd rather just have all the content show up without the "more," as the content isn't that long. How do i get rid of the "more" and just have the box show up with all of the content in it? Thanks Link to comment Share on other sites More sharing options...
TreeTheme Dev Posted March 4, 2014 Share Posted March 4, 2014 In your theme folder check category.tpl. It should have this code {if $category->description} <div class="cat_desc"> {if strlen($category->description) > 120} <div id="category_description_short">{$description_short}</div> <div id="category_description_full" style="display:none;">{$category->description}</div> <a href="#" onclick="$('#category_description_short').hide(); $('#category_description_full').show(); $(this).hide(); return false;" class="lnk_more">{l s='More'}</a> {else} <div>{$category->description}</div> {/if} </div> {/if} so instead of that just edit and have {if $category->description} <div class="cat_desc"> <div>{$category->description}</div> </div> {/if} That should work in your case. Link to comment Share on other sites More sharing options...
RhinoForce Posted March 4, 2014 Author Share Posted March 4, 2014 Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now