변경하려는 자식 테마를 만들었지 만 style.css에서 변경 한 내용은 사이트에 표시되지 않습니다.Wordpress 자식 테마 스타일 시트가 작동하지 않는 것 같습니다
여기
/*
Theme Name: Soundstage Child Theme
Description: Soundstage Child Theme
Author: xxxxx
Template: soundstage
Version: 1.0.0
*/
/* =Imports styles from the parent theme
-------------------------------------------------------------- */
@import url('../soundstage/style.css');
/* =Theme customization starts here
-------------------------------------------------------------- */
.logotext {
font-family: "Life Savers", cursive;
font-weight:400;
position:relative;
top:12px;
right:90px;
}
.menu-item {
font: 18px/20px cutive,Arial,Helvetica,Sans-Serif;
}
그냥 확인하기 위해 내있는 style.css에있어 무엇을, 나는 별도의 CSS를 추가하는 플러그인을 설치 -이 CSS는 거기에 잘 작동합니다.
편집 : 그런데, 하위 테마 디렉토리의 템플릿이 잘 작동합니다.
EDIT2 : WP가 (현재 WP 버전) 이후에 매개 변수를 사용하여 스타일 시트를 호출하는 것을 보았습니다.하지만 스타일 시트가 어디서 왔는지 또는 스타일 시트가 다른 이유는 확실하지 않습니다. ver = 켜기 및 끄기 :
<link rel='stylesheet' id='soundstage-css' href='http://domain.com/wp-content/themes/soundstage-child/style.css?ver=3.6.1' type='text/css' media='all'/>
이것은 효과가 있습니다. 고맙습니다. WP-supercache가 .htaccess에 넣은 것이 었습니다. 플러그인을 사용하지 않기로 결정 했으므로 이제 막 제거했습니다. –