Jump to content

(Solved) Change footer links to horizontal


Recommended Posts

You will need to open modules tpl files and change sections to be full width.

For example open blockcms.tpl and change

<section class="footer-block col-xs-12 col-sm-2" id="block_various_links_footer">

to

<section class="footer-block col-xs-12 col-sm-12" id="block_various_links_footer">

Then change in global.css

.footer-container #footer ul li {
    padding-bottom: 8px;
}
to
.footer-container #footer ul li {
    padding-bottom: 8px;
    display:inline
}

to get links displayed horizontal

  • Like 1
Link to comment
Share on other sites

For borders you need to do something like this:

.footer-container #footer ul li {
    padding-bottom: 8px;
    display:inline;
    border-left: 1px solid #000;
}

and

.footer-container #footer ul li.first_item{
    border:none
}

to remove first left border.

 

For centering i would need to see your site because it depend on your code.

  • Like 1
Link to comment
Share on other sites

No worries - thank you for catching it.

Everything looks good now.

 

BTW, I have been working on the default header... Ideally I would like it laid out like this one:

http://addons.prestashop.com/demo/FO6606.html

 

I am partly there (the logo and top menu are aligned but it looks a little "too clean" :) Any suggestions?

 

Edit: I have another thread on the header topic

http://www.prestashop.com/forums/topic/344912-adjusting-positions-of-logo-nav-and-menu-layers/?do=findComment&comment=1748582

 

Perhaps is best to mark this one as solved and move to the other for my question above since it does not pertain to the footer.

Edited by Whispar1 (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...