Post by Tajx » Tue Sep 26, 2017 10:58 pm

Hi all,
I need your kind help.
I want to set footer links ( only information links) like this style
About US | Contact Us | Privacy Policy | Terms & Conditions
I already delete the other links or pages like extras, My account etc...
I want to use whole area of footer place the horizontal menu who mentioned above.
Please guide me.
Thanks
(sorry for bad english :)

New member

Posts

Joined
Wed Aug 15, 2012 4:18 pm

Post by cyclops12 » Sat Oct 07, 2017 7:35 pm

If you have already removed all other links from footer then you could try editing your catalog/view/theme/YOUR_THEME/template/common/footer.tpl
and find

Code: Select all

 <?php if ($informations) { ?>
      <div class="col-sm-3">
        <h5><?php echo $text_information; ?></h5>
        <ul class="list-unstyled">
          <?php foreach ($informations as $information) { ?>
          <li><a href="<?php echo $information['href']; ?>"><?php echo $information['title']; ?></a></li>
          <?php } ?>
        </ul>
      </div>
      <?php } ?>
and replace with

Code: Select all

<?php if ($informations) { ?>
      <div class="col-sm-12">
        <h5><?php echo $text_information; ?></h5>
        <ul class="list-unstyled">
          <?php foreach ($informations as $information) { ?>
          <a href="<?php echo $information['href']; ?>"><?php echo $information['title']; ?></a>
          <?php } ?>
        </ul>
      </div>
      <?php } ?>
then at the bottom of catalog/view/theme/YOUR_THEME/stylesheet/stylesheet.css add

Code: Select all

footer a:before {
	content: '| ' ;
}
footer a:first-child:before {
	content: none;
}

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by Tajx » Thu Nov 09, 2017 6:12 am

Thank you cyclops12

New member

Posts

Joined
Wed Aug 15, 2012 4:18 pm
Who is online

Users browsing this forum: No registered users and 294 guests