WordPress.org

Ready to get started?Download WordPress

Forums

Spun
relative links to i.e. images (1 post)

  1. Bastienne
    Member
    Posted 10 months ago #

    How come I can not use a relative url to for example a background image?

    For example:

    background:url("../logo-boom-boek_600.jpg");

    instead of:

    background:url(http://localhost/wordpress_natuurschool/logo-boom-boek_600.jpg);

    It would make moving the site from local to online so much less work!
    What am I doing wrong?
    Thanks, Bastienne

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.