PrestaShop Recipes by Arnaldo Pérez Castaño

PrestaShop Recipes by Arnaldo Pérez Castaño

Author:Arnaldo Pérez Castaño
Language: eng
Format: epub
Publisher: Apress, Berkeley, CA


The modification to the Smarty template rendered on the displayFooter hook is very simple; we just add one final li HTML element in case the TripAdvisor URL has been set in the Back Office.

A final step is required to make our new TripAdvisor link work; we need to define a CSS rule that would load the TripAdvisor icon from our newly uploaded FontAwesome font package. For this purpose, we'll edit the global.css file found in themes/your_theme/css adding the rule in Listing 3-32.

.footer-container #footer #social_block ul li.tripadvisor a:before {

content: "\f262"; }

Listing 3-32.CSS Rule to Show TripAdvisor Icon



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.