Jump to content

Centering footer text messed up reassurance block


Recommended Posts

Hello!

 

I am trying to set up my webshop, and in an attempt to make everything appear smooth, the customer reassurance block messed up. This happened when i centered the text in the footer, and now I'm trying to figure out how to keep the text centered, but also center the reassurance block.

 

The site is www.shotsglas.dk

 

I inserted the red line into my footer.tpl:

 

</div>
<div id="footer" style="width:100%; clear:both; display:block; overflow:hidden;">
  <div style="width:980px; display:block; margin:auto; clear:both;">
    <div style="width:100%; display:block; clear:both; overflow:hidden; margin-left:25%;">
    {$HOOK_FOOTER}
    </div>
    {if $PS_ALLOW_MOBILE_DEVICE}
      <p class="center clearBoth"><a href="{$link->getPageLink('index', true)}?mobile_theme_ok">{l s='Browse the mobile site'}</a></p>
    {/if}
  </div>
</div>
{/if}
</body>
 
Thanks in advance!
Edited by Magnusnm (see edit history)
Link to comment
Share on other sites

Magnusmn, if you just want to centre the 3 columns within your footer, open your global.css file, look for the FOOTER section and amend the following line from:

#footer .myaccount {padding: 15px 10px}

to

#footer .myaccount {padding: 15px 10px; margin-left: 220px}

Adjust the 220 to the value that you prefer.

Cheers, Dave

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...