How to display custom contents above footer in PrestaShop?

Hi. I have bought your module contentbox pro, but I can´t really get my text to be where they are supposed to be. On my website I would like the lefthand text (Derfor er bamser fantastiske bla bla bla) to be under the products and before newsletter and social media buttons (footer). How do I get a text field in the center, under my products? As it is now, the text will show in in top on mobilephones and they have to scroll. Please advice me. Thank you very much



Use custom hook in html box pro module

in this case you will have to create custom hook, instructions below:

1) go to html box pro configuration page
2) create new hook named "displayAboveFooter"
3) create new block with your contents inside this hook
4) go to theme file: /themes/your-theme/footer.tpl
5) add there shortcode to run your hook: {hook::exec('displayAboveFooter')}

insert shortcode above code:

{hook::exec('displayAboveFooter')} 

{if isset($HOOK_FOOTER)}
    <!-- Footer -->
    <div class="footer-container">
        <footer id="footer"  class="container">
      <div class="row">{$HOOK_FOOTER}</div>
        </footer>
    </div><!-- #footer -->
{/if}

6) if after changes you dont see the text on your shop front office - it will be necessary to clear shop cache


Share on Google Plus

About VEKIA

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment

0 comments:

Post a comment