I find the solution changing: /front-page/templates/ja_restaurant/tpls/index.php
<?php
/**
- ------------------------------------------------------------------------
- JA Restaurant Template
- ------------------------------------------------------------------------
- Copyright (C) 2004-2018 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
- @license - Copyrighted Commercial Software
- Author: J.O.O.M Solutions Co., Ltd
- Websites: http://www.joomlart.com - http://www.joomlancers.com
- This file may not be redistributed in whole or significant part.
- ------------------------------------------------------------------------
*/
defined('_JEXEC') or die;
$bg = $this->params->get('background_img', '');
if($bg) {
$bg = 'background-image: url(\''.$bg.'\')';
}
?>
<!DOCTYPE html>
<html lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>"
class='<jdoc:include type="pageclass" />'>
<head>
<jdoc:include type="head" />
<?php $this->loadBlock('head') ?>
</head>
<body>
<div class="t3-wrapper" <?php if($bg) echo 'style="'.$bg.'"'; ?>>
<div class="container-hd" >
<?php $this->loadBlock('topbar') ?>
<?php $this->loadBlock('header') ?>
<?php
// Check if the device is mobile
$user_agent = $_SERVER['HTTP_USER_AGENT'];
if(preg_match('/mobile/i', $user_agent)) {
$this->loadBlock('mainnav');
}
?>
<?php $this->loadBlock('slideshow') ?>
<?php $this->loadBlock('masthead') ?>
<?php $this->loadBlock('section-1') ?>
<?php $this->loadBlock('mainbody') ?>
<?php $this->loadBlock('section-2') ?>
<?php $this->loadBlock('footer') ?>
</div>
</div>
</body>
</html>