Support » Plugins and Hacks » [Resolved] CG-Amazon and Centering

[Resolved] CG-Amazon and Centering

  • How can I center the content of the CG-Amazon block (especially the image)? I’m pretty sure I did it before, but that was months ago, and I can’t figure out how I did it. I’d appreciate any help. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • depending on your call, you want to override either .amazon-item-wrap or .amazon-block (in your css or in cg-amazon.css) and add a text-align: center; rule. I think. 😉


    Ok, I’ll try that next chance I get to work on my site (hopefully tomorrow). I’ve had a few things get in the way the past few days, but I do appreciate the reply. However, I’m not sure that will center the image. I’ll see what happens, though. 🙂

    If it doesn’t work, let me know. You can also apply it to just the “.amazon-item-wrap img”, but then your text wouldn’t be centered. (Or, you could try both if needed…).

    I’d have to see the site and the css and really pick through stuff to see what rules were being applied — if that doesn’t work. 😉


    Sorry I didn’t get back to you sooner. Setting the text-align: center; for .amazon-item-wrap worked perfectly! Thanks again!

    Not a problem. CG-Amazon spits out a LOT of CSS tags so that you can style it in lots of wacky ways… 😉


Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] CG-Amazon and Centering’ is closed to new replies.