This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

rob
rob

Hello, october cms is really new for me. I have a question related to the image path that has to be set via css. The way it works is url('../themes/themeName/...) Why do I have to set ../ - in which directory does the application is running?

Thanks Robert

Last updated

JonasJonny
JonasJonny

It's a relative path to assets directory. Your *.css is inside css folder so you have to use ../ to go one level up. Look at demo -> theme.css.

assets
--css
----*.css
--img
----logo.png

../img/logo.png

Last updated

1-2 of 2

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.