Vilas Posted May 24, 2011 Share Posted May 24, 2011 Dear Friend,I want to hide short description of products which displayed when we browse products from a particular category due to which text not seen properly.Please find image for reference.RegardsVilas Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted May 24, 2011 Share Posted May 24, 2011 This is very easily accomplished. Do the following: Open themes>yourtheme>product-list.tplRemove the following code (line 35): {$product.description_short|truncate:360:'...'|strip_tags:'UTF-8'} That will remove the product description. Hope that helps! Marty Shue Link to comment Share on other sites More sharing options...
ukmacnut Posted May 24, 2011 Share Posted May 24, 2011 Hi - I am not an expert but I think you can do this if you edit your product.tpl line 145 and cut or comment out the line with "short_description_content" as I have done here: {if $product->description_short} <!-- {$product->description_short}--> {/if} {if $product->description} {l s='More details'} {/if} Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted May 24, 2011 Share Posted May 24, 2011 Hi - I am not an expert but I think you can do this if you edit your product.tpl line 145 and cut or comment out the line with "short_description_content" as I have done here: {if $product->description_short} <!-- {$product->description_short}--> {/if} {if $product->description} {l s='More details'} {/if} This will remove the description from the actual product page. This not what Vilas is wanting (see image). See my post for the file that needs to be modified. Marty Shue Link to comment Share on other sites More sharing options...
Vilas Posted May 24, 2011 Author Share Posted May 24, 2011 Dear Marty Shue & ukmacnut,You both are simply great. You resolved my issue without any trouble. I have one more query is it possible to remove the background color to white?Please check image for reference.ThanksVilas Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted May 24, 2011 Share Posted May 24, 2011 Of course it is possible Look in:themes/yourtheme/css/product_list.cssChange this line (line #4) background: #d0d3d8 url('../img/block_category_item_bg.jpg') repeat-x; To background: #fff; That should do it! Marty Shue Link to comment Share on other sites More sharing options...
Vilas Posted May 25, 2011 Author Share Posted May 25, 2011 Dear Marty Shue,You are great. Your resolved my issues. Thanks a lot for it. Sorry but I have one more query. Hope this time also you will help me. I want to do same thing which I asked about category. I want to make white background to featured products. Please find image.Thanks in advance. Sorry for troubling you.RegardsVilas Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted May 25, 2011 Share Posted May 25, 2011 You are welcome! To do this you will need to edit two lines of code. If you don't edit both when you hover over the product the background will change colors. Change line 891 from background-color: #d0d3d8; to this background-color: #fff; then you will need to change line 888 from #center_column .products_block ul li:hover { background-color: #bdc2c9 } to this #center_column .products_block ul li:hover { background-color: #fff } This will give you the look you want. It is no trouble......this is what the forum is for :-) Marty Shue Link to comment Share on other sites More sharing options...
Vilas Posted May 25, 2011 Author Share Posted May 25, 2011 Dear Marty Shue,Thanks a lot it also worked. I want to give one more trouble to you. I want to insert boarder to whole home page. A thick boarder and also to featured products also want to insert thick boarder. Is it possible? Please find image for reference.ThanksVilas Link to comment Share on other sites More sharing options...
Vilas Posted May 25, 2011 Author Share Posted May 25, 2011 Dear Marty Shue,,Boarder issue also resolved.I really thanks a lot from heart to you as you supported lot to me. Wish u nice time ahead.ThanksVilas Link to comment Share on other sites More sharing options...
Vilas Posted May 27, 2011 Author Share Posted May 27, 2011 Hi,I want to add thin border at around featured products. Check image for reference.Could you please help me how to do it?ThanksVilas Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted May 27, 2011 Share Posted May 27, 2011 Hi Vilas! I'll be glad to help you do this Follow these steps: First go to themes>yourtheme>css>global.csschange line 881 to something like this #center_column .products_block { border: 1px solid #000; } this will put a black line around the entire Featured Products divNext, change the following (around line 889)(only add the border-right and border-top) #center_column .products_block ul li { float: left; background-color: #fff; margin-top: 0; padding: 0 0 1px; width: 133px; border-right:solid 1px #000; border-top:solid 1px #000; } Again, this will put a thin black line around each product. This needs to equal the border you put around the entire Featured Products div so it will look correct. Hope that helps you! Marty Shue 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