rpaezg Posted July 19, 2015 Share Posted July 19, 2015 Hello Friends, I would like to change color of new Link button that I created through Product Description using the sentence: {$product->description} The new button that has been generated is related to CSS item: ".btn-default" inside of "global.css". When I make some change, this are reflected in all buttons. I wonder where I make the change to use a custom item CSS for example: ".btn-new" and thus to change the colors and features according to my needs without affecting the rest of the system buttons. I have looked everywhere and I can not find where the chain {$product->description} is generated to make the required change. Beforehand very grateful for your help. RPG. Link to comment Share on other sites More sharing options...
clint Posted July 23, 2015 Share Posted July 23, 2015 (edited) Hi, I just read another thread about this. This is where you removed strip tags from product-list.tpl? Am I right in thinking this link is actually in your main product description? If so just hit the source button on your product description and change it from <a class="btn-default" to <a class="btn-new" Add css into product-list.css to cater for btn-new. I'm pretty sure using {$product->description} inside the for each loop on product-list.tpl would give you the products description, but then the whole description would have to be just the button (or trucate:buttonlength) Clint Edited July 23, 2015 by clint (see edit history) 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