Jump to content

Images/Stylesheets not being loaded from themes/assets folder


truetaurus

Recommended Posts

I have an image in my theme in a .tpl file defined like this:

<img class="logo" src="/public/img/Logo.svg">

However the image is not found even though it is in this directory:

/themes/theme_name/assets/img/Logo.svg

The result in the console is thus

GET http://localhost/public/img/Logo.svg 404 (Not Found)

Even though my url to the shop is this:

http://localhost/prestashop/en/

How do I get prestashop 1.7 to display this image or know where exactly to look for it?

Edited by truetaurus (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...