Support » Themes and Templates » data:Images in CSS; automatically add link to css directory

  • Resolved Josef Seidl

    (@blogitsolutions)


    Hi,

    I tried to include a data:image in my theme css-file in the following way:

    .sb2logo {
    	background: url("data:image/png;base64,iVBORw0...");
    }

    But if I have a look at my page, WordPress automatically added the link to the css-directory:

    .sb2logo {
    	background: url(""http://www.page.com/wp-content/themes/theme/css/data:image/png;base64,iVBORw0...");
    }

    How to avoid this?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘data:Images in CSS; automatically add link to css directory’ is closed to new replies.