style.css의 WordPress 플러그인 폴더에있는 이미지에 연결하려고합니다. 나는 해봤 다음 그러나 그것은 작동하지 않습니다style.css에서 WordPress 플러그인 폴더에 링크하는 방법은 무엇입니까?
.example {
background: url(images/photo.jpg) center center no-repeat;
}
플러그인 폴더 이미지 : /wp-content/plugins/my-plugin/images/photo.jpg
스타일 시트는 여기 : /wp-content/themes/my-theme/style.css
플러그인 폴더에 css와 image를 추가하면 플러그인 URL을 사용하여이 파일을 가져올 수 있습니다. –
많은 CSS 파일이없는 것을 선호합니다. – henrywright