nick12345 Posted May 4, 2011 Share Posted May 4, 2011 How to center footer links on prestashop 1.4 I have tried but i am confused by the new block cms thing.Anybody have a step by step guide to do this simply?Thanks Link to comment Share on other sites More sharing options...
projectpb Posted July 16, 2011 Share Posted July 16, 2011 i am also looking how to do this plz reply Link to comment Share on other sites More sharing options...
liquidesnake Posted July 16, 2011 Share Posted July 16, 2011 U can use: align="center".Place it on the tag which wraps the footer lins on the .tpl file...or from the css file use: text-align:center Link to comment Share on other sites More sharing options...
Dan1 Posted April 22, 2012 Share Posted April 22, 2012 I'm not clear on the instructions in the above post. Can someone please explain how to do this? Link to comment Share on other sites More sharing options...
Dan1 Posted April 22, 2012 Share Posted April 22, 2012 Solution: In module blockcms edit the blockcms.tpl file. Put <center> </center> tags around the footer code like this: <!-- MODULE Block footer --> <center><ul class="block_various_links" id="block_various_links_footer"> {if !$PS_CATALOG_MODE}<li class="first_item"><a href="{$link->getPageLink('prices-drop.php')}" title="{l s='Specials' mod='blockcms'}">{l s='Specials' mod='blockcms'}</a></li>{/if} <li class="{if $PS_CATALOG_MODE}first_{/if}item"><a href="{$link->getPageLink('new-products.php')}" title="{l s='New products' mod='blockcms'}">{l s='New products' mod='blockcms'}</a></li> {if !$PS_CATALOG_MODE}<li class="item"><a href="{$link->getPageLink('best-sales.php')}" title="{l s='Top sellers' mod='blockcms'}">{l s='Top sellers' mod='blockcms'}</a></li>{/if} {if $display_stores_footer}<li class="item"><a href="{$link->getPageLink('stores.php')}" title="{l s='Our stores' mod='blockcms'}">{l s='Our stores' mod='blockcms'}</a></li>{/if} <li class="item"><a href="/sitemap.php" title="{l s='Sitemap' mod='blockcms'}">{l s='Sitemap' mod='blockcms'}</a></li> {foreach from=$cmslinks item=cmslink} {if $cmslink.meta_title != ''} <li class="item"><a href="{$cmslink.link|addslashes}" title="{$cmslink.meta_title|escape:'htmlall':'UTF-8'}">{$cmslink.meta_title|escape:'htmlall':'UTF-8'}</a></li> {/if} {/foreach} {if $display_poweredby}<li class="last_item">{l s='Powered by' mod='blockcms'} <a href="http://www.prestashop.com">PrestaShop</a>™</li>{/if} </ul></center> <!-- /MODULE Block footer --> Link to comment Share on other sites More sharing options...
lucoral Posted August 23, 2012 Share Posted August 23, 2012 Aloha! This can be done easily in your global.css file. Find the section #footer and add text-align: center; before clear: both } and save the change. best, Martin Link to comment Share on other sites More sharing options...
rseigel Posted August 23, 2012 Share Posted August 23, 2012 Better to use the css - the center tag is deprecated and should never be used. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now