Bg Image not Showing when site in on server

  • mugnet
  • Topic Author
  • Visitor
  • Visitor
11 years 8 months ago #28409 by mugnet
Hello, im recently uploaded my site (modified hot hotel template).

Everything is great its just that the bg4.jpg [templates/hot_hotel/images/bg4.jpg]
( witch i replaced with another image)

worked fine on local but when on the server it puts the color #fcffdb
all the files are there... same as in local.

I see that this is located in templates/hot_hotel/styles/style4.php

$bodyBg = "#fcffdb";
$bodyBgImage = "4";

from what i understand "4" is assosiated with the image bg4.jpg but i cant find that assosiation in code.

Can i put the path to the bg4.jpg somewhere here to make it work?

Thank you for your time :)

Please Log in to join the conversation.

More
11 years 8 months ago #28422 by ivan.milic
It's here in:

template_css.php

body {
background:<?php echo $bodyBg; if($bodyBgImage) { ?> url(<?php echo $template_path; ?>/images/bg<?php echo $bodyBgImage; ?>.jpg) no-repeat fixed top center<?php } ?>;
color:<?php echo $bodyText; ?>;
}
The following user(s) said Thank You: mugnet

Please Log in to join the conversation.

  • mugnet
  • Topic Author
  • Visitor
  • Visitor
11 years 8 months ago #28435 by mugnet
Replied by mugnet on topic Bg Image not Showing when site in on server
Thank you :)

i played around on that code, turns out the imagename was case sensitive Bg4.jpg neeeded to be bg4.jpg as in the code.

Please Log in to join the conversation.

Time to create page: 0.172 seconds
Powered by Kunena Forum