Mallee Boy Posted December 24, 2010 Share Posted December 24, 2010 Where can I go (which files) do I need to modify to tidy up the display in accessories. Text over-writes other text, justification is not stream-lined. Some images have boxes, others don't and I certainly don't need four links to view the same product. Perhaps the "view button could go" Link to comment Share on other sites More sharing options...
rocky Posted December 24, 2010 Share Posted December 24, 2010 The HTML code is in the <!-- accessories --> section on line 360 of product.tpl in your theme's directory. The CSS is in the /* Special style for block accessories in center column (product page) */ section of global.css. Link to comment Share on other sites More sharing options...
Mallee Boy Posted December 24, 2010 Author Share Posted December 24, 2010 Thanks Rocky. One question. I have been able to tidy up and centre the accessory blocks, but how can i fit three across (at the moment i can only fit two, though there is room for three accessories per line. Which file do I need to edit and where? Link to comment Share on other sites More sharing options...
rocky Posted December 24, 2010 Share Posted December 24, 2010 The accessories use the featured products code for their width. That code is in the /* Special style for block products in center column */ section in the #center_column .products_block ul li block. You can try changing that, or override it in the accessories section by adding a width to the #center_column .products_block.accessories_block .block_content li block. Link to comment Share on other sites More sharing options...
Mallee Boy Posted December 24, 2010 Author Share Posted December 24, 2010 Thanks Rocky Link to comment Share on other sites More sharing options...
Mallee Boy Posted December 24, 2010 Author Share Posted December 24, 2010 All looks good now. Except, if possible, I would like to remove the hover colour on the link that occurs when i mouse over the short description. Is there somewhere in the product.tpl file under accessories that I can prevent this hover colour on the text? Link to comment Share on other sites More sharing options...
rocky Posted December 26, 2010 Share Posted December 26, 2010 The hover background colour is in the /* Special style for block products in center column */ section: #center_column .products_block ul li:hover { background-color: #bdc2c9 } For the description hover, I think you will have a add a new line like the following: #center_column div.products_block p.product_desc a:hover { color: red } Change red to the colour you want. Link to comment Share on other sites More sharing options...
Mallee Boy Posted December 26, 2010 Author Share Posted December 26, 2010 Cheers, Rocky. Link to comment Share on other sites More sharing options...
gogaldau Posted December 30, 2010 Share Posted December 30, 2010 How do I modify the "product.tpl" file to remove the "view button"? Please give specific instructions. Thanks Link to comment Share on other sites More sharing options...
rocky Posted December 30, 2010 Share Posted December 30, 2010 Change line 375 of product.tpl from: {l s='View'} to: {*{l s='View'}*} Link to comment Share on other sites More sharing options...
gogaldau Posted December 30, 2010 Share Posted December 30, 2010 it's not working. I delet the line 375 and no result.L.E.In product-list.tpl delete the line 26: {l s='View'} 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