The Foxy forums are on the move!

We're in the process of moving our forums over to a new system, and so these forums are now read-only.
If you have a question about your store in the meantime, please don't hesitate to reach out to us via email.

Centering ^^store_logo^^ in FoxyCart Standard Template

knightknightknightknight Member
in Help edited February 2009
If I'm using the default 'FoxyCart Standard' template and I've put my ^^store_logo^^ above the ^^cart^^ is there any way of centering it>?

<body id="checkout">
<div id="pageContainer" style="width:760px; margin:0px auto;">
^^store_logo^^
^^cart^^
^^checkout^^
</div>
Comments
  • lukeluke FoxyCart Team
    edited February 2009
    Does this work?
    <body id="checkout">
    <div id="pageContainer" style="width:760px; margin:0px auto;">
    <div style="width:760px; margin:0px auto; text-align:center">
    ^^store_logo^^
    </div>
    ^^cart^^
    ^^checkout^^
    </div>
  • Thanks Luke that worked!

    I was using margin-left:0; margin-right:0; but not the text-align.
  • krumkrum Member
    Is there any reason why this works on the checkout page but not on the cart pop-up window? On that page the store_logo does not seem to be processed and just shows up as ^^store_logo^^. Thanks!
  • brettbrett FoxyCart Team
    Hi Krum.
    Probably an oversight or a bug. We'll take a look.
  • lukeluke FoxyCart Team
    Hey Krum. I guess you're the first to use that place holder in the cart. We'll go ahead and add that to our next version. In the meantime, you should able to build the <img> tag yourself which is probably a better option because you need to ensure it gets sent through our caching system to avoid SSL security warnings.
  • brettbrett FoxyCart Team
    Good point about the caching. I hadn't even thought of that. We may have to look into the order that the placeholders are processed, or automatically cache the placeholder images as necessary when they are replaced. Thanks for bringing it up.
Sign In or Register to comment.