2

I am having problems with a Bootstrap template I downloaded [from here: https://colorlib.com/wp/template/magazine/ preview here: https://colorlib.com/preview/#magazine ].

The problem is when I load it in the browser (Firefox/Vivaldi) using a virtual host on XAMPP (local) the menu (mobile also) doesn't display correctly. But when loaded directly in the browser (Firefox/Vivaldi) as a regular file it works fine. (I have uploaded it to a live server and it worked just fine there.) This leads me to believe there is something wrong with my XAMPP set-up. However, I can't see what it would be as I only changed the following files:

/opt/lampp/etc/httpd.conf
/etc/hosts
/opt/lampp/etc/extra/httpd-vhosts.conf

Here are images of the problem:

I am running Ubuntu 14.04.

Anyone have an idea of what is happening? Let me know if more info is necessary.

closed as off-topic by Stephen Ostermiller Jun 14 '18 at 9:29

  • This question does not appear to be about webmastering within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • Client-side relative URL issue perhaps? – DocRoot Jun 5 '18 at 1:23
  • Please describe the specifics of the problem and include relevant screenshots in your question (rather than linking to an external resource, on which you have overlayed text on the images). Is your server returning the correct mime-types for these resources? Are all the resources loading OK? Do you have the same URL path on the local and production servers? Problems with client-side rendering can be caused by using relative URL paths - depends on your path structure. – DocRoot Jun 5 '18 at 9:32
  • Is there anything in the developer tools message console of firefox when you load the page under XAMP? Any sort of error messages would be very helpful in solving this. – Stephen Ostermiller Jun 5 '18 at 9:35
  • Thanks for the help. However, I have decided not to use .php file extensions but rather .html. That way I don't need to use XAMPP. Thanks again. – Lee Jun 6 '18 at 23:32
  • I'm closing this question as off-topic because you say you don't need a solution any longer. – Stephen Ostermiller Jun 14 '18 at 9:29