Jump to content

Recommended Posts

Hello

 

I would like to center my footer on this shop www.mobil4u.dk

 

My footer.tpl file looks like this:

 

 

{if !$content_only}

</div>

<!-- Right -->

<div id="right_column" class="column">{$HOOK_RIGHT_COLUMN}</div>

<div class="clearblock"></div>

</div>

<!-- Footer -->

<div id="footer">

{$HOOK_FOOTER}

<!-- [[%FOOTER_LINK]] -->

</div>

</div>

</div>

</div>

{/if}

</body>

</html>

 

What should it look like to be centered.......

Share this post


Link to post
Share on other sites

you must edit css file, and add text-align:center;

 

#footer {
text-align: center;
height: 97px;
clear: both;
}

 

or add it to:

<div id="footer" style="text-align:center;>
Edited by vekia (see edit history)

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More