Close

Remove Compare Buttons

bgreer5050
4 years ago
#21045 Quote
Avatar
  • 1
How do I disable/remove the circular compare button?  I noticed it has a class of "add-to-compare-list-button".  

In what css file do I change this class?  

Do I change the visibility or is there some other best practice?

Is there somewhere I can change this in my source code as well so if I rebuild and redeploy I do not need to change the css or config again?

Thank you
hristo
4 years ago
#21059 Quote
Avatar
  • Moderator
  • 172
Hello.

Your options to remove your "add to compare list" button are either to remove it from the source code (_ProductBox.cshtml), or to disable it by css. You can put your css code either into your main css file (styles.css) or into the "custom head styles" panel in your theme administration.


Regards
Regards,
Hristo Gospodinov
Nop-Templates.com