본문 바로가기

Framework

semantic ui sidebar errors 'Had to add pusher element. For optimal performance make sure body content is inside a pusher element' semantic ui sidebar 추가시 콘솔에 아래와 같이 오류 메시지가 나옵니다. 딱히 기능상의 문제는 아니지만 html 의 구조적으로 문제가 있으니 수정하라는 메세지 라고 합니다. "'Had to add pusher element. For optimal performance make sure body content is inside a pusher element'" 해결방법 참조 : github.com/Semantic-Org/Semantic-UI/issues/1474 semantic-ui.com/modules/sidebar.html#/usage 해결 방법은 위의 이미지 1,2번과 같이 "sidebar" 와 "pusher" 의 레벨과 구조를 맞추어주면 경고가 해제됩니다. Any fixed posit..
semantic-ui 테마 변경, 폰트 변경 하기 semantic-ui 테마 변경, 폰트 변경 하기 자세히 설명된 블로그를 찾았으나 익숙치 않은 node.js , glup을 워딩 만으로 이해 하기엔 내공이 부족하여 이미지를 덧붙여 다시 정리해 보았습니다. 1. npm 설치가 사용 가능해야 합니다. ( node.js 가 설치 되있어야 합니다.) 1.1 node.js 설치 https://nodejs.org/ko/ 2. 참조한 : https://plming.tistory.com/184 내용을 숙지해 순서대로 진행합니다. 2.1 일단 폴더하나를 만듭니다. test 라고 했습니다 ( 저는 semantic ) $ mkdir test 2.2 npm 초기화를 합니다. $ npm init 중간에 엔터를 계속눌러 진행하여 마무리 합니다. 3. fomantic-ui 를 설..
bootstrap carousel next icon color , 부트스트랩 carousel 아이콘 색상 변경 부트스트랩 이용시 기본제공하는 슬라이드 ( carousel ) 이용시 아이콘( 위 사진 1,2번)이 SVG 를 이용하여 색상을 변경 하고 싶은데 SVG에 관련 하여 지식이 없던 터라 난감하였다. 색상변경하는 SVG를 찾아 아래와 같이 임의로 변경하였다. [ fill='%23000' ] 이부분이 색상인듯 하다. .carousel-control-prev-icon { background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%..