Originally Posted by
picaflor-azul
You might ask over on the amazon support thread. I would imagine that others have the similar problem ;)
Thanks,
Anne
I went ahead and looked over the Amazon Payments support forum thread and found that their css page does infact cause a lot of problems with css. There seems to be no real consensus on how to deal with it but I did follow one suggestion to modify the template that you currently use to override the amazon css. That didn't work for me. I figure I would post my solution just in case there are other people who use this template and the amazon payment module.
What I did was download the amazon css file from their website because it isn't a file that comes with the module download. This can be found at https://images-na.ssl-images-amazon..../one-click.css. If you go and look at this you will immediately see the problems.
So I downloaded this file and placed it in my server: checkout_by_amazon folder (this folder is in the base directory of your shop). This makes it a local file and you can edit it however you like. I removed all of the heading styles and the visited link style. To make the module use this file instead of the one on the amazon server you need to modify line 65 in the file: checkout_by_amazon/checkout_by_amazon_constants.php. This is the line of code to be changed:
Code:
define("CBA_STYLE_SHEET", '"https://images-na.ssl-images-amazon.com/images/G/01/cba/styles/one-click.css"');
Everything between the quote marks with the web address need to be changed to
Code:
your shop's website/checkout_by_amazon/one-click.css
.
This is what I did and it works perfectly. I hope this will help those who may encounter the same problem in the future.
Bookmarks