OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Background image issue - RoyalEstate Template (0 viewing) 
OrdaSoft template Support
Go to bottom Favoured: 0
TOPIC: Background image issue - RoyalEstate Template
#11944
seflek (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Background image issue - RoyalEstate Template 2 Years, 7 Months ago Karma: 0  
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.
 
Logged Logged  
 
Last Edit: 2014/04/14 09:38 By seflek.
  The administrator has disabled public write access.
#11945
admin (Admin)
Admin
Posts: 4861
graph
User Offline Click here to see the profile of this user
Re:Background image issue - RoyalEstate Template 2 Years, 7 Months ago Karma: 61  
Hello,

Please use FireBug extension for fire fox - with it help - you will see whate and where in CSS you need change

Thanks,
ordaSoft team
 
Logged Logged  
  The administrator has disabled public write access.
Go to top
What are you looking for?
Anti-spam question: How many eyes has a typical person?