Home / Leo Theme

Leo Theme

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

slider-error-loading

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 »

[15% OFF] Merry Christmas! Leotheme Discount All Prestashop Themes & Modules & Email Template

leo theme sale

Prestashop Christmas Offer 2022! Dear valued customers, We have been going through almost the year 2022. It’s time for us to take a look back, cheer up for all of our efforts to work, and share a wonderful time together with our beloved ones. Leotheme would like to show our …

Read More »

Leo Elements Creator || Leo Elements Highlighted Widgets

Leo Elements Creator highlighted widgets

Read: Leo Elements Creator || The Powerful No-Code Prestashop Page Builder Leo Elements Creator is a the powerful live editor page builder module that allows you to create, manage and host your Prestashop website within minutes. Additionally, Leo Elements Creator has a great deal of widgets. It even has our top …

Read More »