Hi,
I have changed the code of the "body background" in the index.php documents of the template.
I would like to change the body background for all pages of the site and the code is working good in google chrome.
However, when I open the site in the Internet Explorer (11) and Fifrefox, the new backgorund is applicable only for the home page. In the other page the background don't seem and the background is filled with body standart color.
Please see the code I have used in the index.php;
Code: |
body {
font-family:<?php echo $this->params->get('body_font', 'Arial, sans-serif') ?>;
background-color:<?php echo $this->params->get('body_color')?>;
background-image: url('images/back.jpg');
background-repeat: repeat-x;
}
|
Standart code of the template,
Code: |
body {
font-family:<?php echo $this->params->get('body_font', 'Arial, sans-serif') ?>;
background-color:<?php echo $this->params->get('body_color')?>;
background-image: url('<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/images/<?php echo $this->params->get('body_background')?>');
}
|
Please let me know how can I apply the correct code that will working in all browser.