Home / Leo Theme

Leo Theme

Error site map with leo blog module

Hi If you have error site map with leo blog module please open file /modules/gsitemap/gsitemap.php protected function getMetaLink(&$link_sitemap, $lang, &$index, &$i, $id_meta = 0) { if (method_exists('ShopUrl', 'resetMainDomainCache')) { ShopUrl::resetMainDomainCache(); } $link = new Link(); $metas = Db::getInstance()->ExecuteS('SELECT * FROM `' . DB_PREFIX . 'meta` WHERE `configurable` > 0 AND …

Read More »



Halloween is coming in town and it is time for you to get ready to scare others off and get frightened by others as well. For Leo Theme, we are going to make you terribly SHOCKED at such a big promotion – SALE UP to 35% in this November. Happy Halloween …

Read More »

Optimization Database prestashop

optimization prestashop database

Hi When you use prestashop in longtime You want to Optimization database to make your site run faster Please follow my guide back-up database login back-office Advanced Parameters > Database > DB Backup create new back-up 2. login php-myadmin run follow command TRUNCATE TABLE ps_connections; TRUNCATE TABLE ps_connections_source; TRUNCATE TABLE …

Read More »

The danger of iframe clickjacking and how to deal with it

Clickjacking It involves tricking a user into clicking something different from what they think it is. Let’s create a straightforward example with it. index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>A malicious website</title> <link rel="stylesheet" href="style.css"> </head> <body> <button>Just a button</button> <iframe id="banking-site-iframe" src="https://your-bank.com"></iframe> </body> </html> Above, we have …

Read More »

Leo Elements show content for each Product

Edit file tpl in ROOT\themes\THEME_NAME\templates\layouts\layout-both-columns.tpl Add code {if $page.page_name == ‘category’} {hook h=’displayContentTopCategory’} {/if} {if $page.page_name == ‘product’} {hook h=’displayContentTopProduct’} {/if}   Product Edit Product Preview   Category Edit Category Preview      

Read More »

[Solver] Slideshow loading error


Hi Everyone. If you got error with Slideshow loading same picture     Please copy css code and add it in file .ApSlideShow .slide_config , .LeoSlideshow .slide_config{ display: none; }   Path file css themes/nametemplate/assets/css/custom.css then clear cache and try again

Read More »

How to customize full width category page with 6 products per line?

Hi, Please follow my guide to do it: 1. Set full width for category page 2. Edit some files Add this code like image in file /themes/your_theme/templates/layouts/layout-both-columns.tpl: {if $page.page_name == ‘category’} full-width{/if}   Add/edit this code like image in file /themes/your_theme/templates/catalog/_partials/miniatures/leo_col_products.tpl {* start custom category *} {if $page.page_name == ‘category’} …

Read More »

Leo Elements Creator and Cloudflare Rocket Loader

Elementor and Cloudflare integrate smoothly with each other, although there has been an issue with Rocket Loader in the past. The issue was caused by Rocket Loader automatically changing the scripts to load asynchronously, which breaks the editor. If this is causing you a problem, you can solve this by …

Read More »

[UP TO 45% OFF] Template Monster Biggest End Of Year Sale 2022

Template Monster Biggest Sale 2022

Hot: 15% off Merry Chrismast Leo Theme Welcome back to Leo Theme blog. Chirstmas is coming in town, goes with it is a bulk discount from our partner Template Monster. Template Monster is a leading marketplace for all kinds of thing needed for a website: theme written in HTML, CSS, …

Read More »