bootstrap parallax working in local host but not in server


Topic: bootstrap parallax working in local host but not in server

shimonmmm pro asked 7 years ago

Greetings,

I have a website and I wanted to add a parallax to my website.I took it from https://mdbootstrap.com/previews/docs/latest/html/parallax/index.htmlEverything works fine in my localhost (visual studio), but after I upload it to my server. I cannot see any parallax at all (as if it doesnt exist).Image in local host Image in the website after uploadI tried to clear history all history in chrome. I tried different jquery versions (Including the 3.2.1 which comes with the example in the bootstrap website). I tried to copy all project again to my server to see that I didn't forget anything.I payed for mdb pro component and put it in my project and i use mdb 4.5.0 in my project.I dont understand why doesn't it works. you can view my source code in www.shimonmargolin.com

 

Please help me.Thank you


Ollie Vincent pro commented 7 years ago

Hi, I looked developer tools and see the code is loaded. However, my browsers could not find/load the background image. Are you sure you uploaded the image to the server in the correct directory. The path I see is /Images/androidfullhd1.jpg

shimonmmm pro answered 7 years ago

I changed it from url(/Images/androidfullhd1.jpg) to url(http://www.shimonmargolin.com/WebProfile/Images/androidfullhd1.jpg) and it works! thank you very much.
Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: Yes