Home 게시판 커뮤니티 Q&A WP Editor 플러그인을 통한 CSS 수정이 반영되지 않는 오류

1개 답변, 2 voices Last updated by Avatar of Chris DevChris Dev 7 years, 1 month 전
  • Avatar of 전우준전우준
    Participant
    @hideandseek
    #38960

    안녕하세요?

    Theme Horse 테마로 홈페이지를 만들고 있는 사람입니다. 주소는 http://www.vway.co.kr입니다.
    WP Editor 플러그인을 설치하고 Theme Editor -> style.css에서 수정을 하고 Update File 버튼을 눌러도
    실제 홈페이지에 반영이 되질 않네요. 예를 들어서 style.css에서 아래의 부분에서 width를 300px로 수정해도
    (style.css?ver=4.7.1:1044)
    .featured-text .featured-content {
    padding: 15px 20px;
    background-color: #fff;
    background-color: rgba(255, 255, 255, 0.9);
    color: #777;
    clear: left;
    width: 300px;
    }
    실제 홈페이지를 구글로 들어가고 F12를 누르면
    (style.css?ver=4.7.1:1044)
    .featured-text .featured-content {
    padding15px 20px;
    background-color#fff;
    background-colorrgba(255, 255, 255, 0.9);
    color#777;
    clearleft;
    width350px;
    width가 350으로 나오네요;;;
    (참고로 아래 이미지의 빨간 상자에 대한 부분입니다. 이미지가 작아서 죄송합니다;;)
    제목 없음
    왜 이렇게 될까요? 어떻게 하면 좋을까요…ㅠㅠㅠ
    Avatar of Chris DevChris Dev
    Moderator
    @chris_dev
    #39231

    안녕하세요 구글 크롬을 사용하고 계신것 같은데 몇달 전부터 크롬에서 캐싱쪽에 변화가 있어서 그런것으로 보입니다.

    해결방법은 해당 스타일파일을 등록할때 aaaa.css?ver=xxx 위처럼 버전같은 변경해 주시면 바로 반영되시는 걸 확인하실수 있습니다.


    Signature: Chris Mok

    WordPress.org Profile | Personal Blog

    한국 워드프레스 사용자들을 위한 Slack 그룹 채팅 초대장 받기

    Avatar of Chris Dev
    lives in Sydney.


2 글 보임 - 1에서 2 까지 (총 2 중에서)
  • 답변은 로그인 후 가능합니다.