Jump to content

Change color of new Link button created by {$product->description}


Recommended Posts

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.

post-999952-0-59312300-1437344398_thumb.jpg

Link to comment
Share on other sites

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 by clint (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...