나는 Themeforest에서 구입 한 템플리트에서 다음과 같은 페이지를 작성하고 있습니다 : Truestory. 페이지 로딩 (애니메이션) 기능을 제거/비활성화하는 방법이 있는지 궁금합니다. 여기 페이지 로딩 (애니메이션) 기능을 제거/비활성화 하시겠습니까?
http://themeforest.net/item/truestory-fullscreen-html5-template/3902394
내가 변경해야 무엇을 styles.css 코드/추가?여기 내가 올바르게 수정해야한다고 생각하는 부분이 있습니까?
#preloader{
display: none;
...
당신은 또한을 만드는 코드를 제거 고려할 수 있습니다 : 그것은 당신이 단지 로딩 애니메이션을 숨기려면, 해당 요소를 숨기기 위해 CSS를 변경할 수 있습니다
/*-------------------------------------------------------------------------------------*/
/* PRELOADER
/*-------------------------------------------------------------------------------------*/
#preloader{
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
}
.active-dock #preloader{
margin-top: -65px; /* dock.height/2 */
}
#preloader > span{
position: absolute;
top: 50%;
left: 50%;
display: block;
width: 80px;
height: 80px;
margin-top: -40px;
margin-left: -40px;
z-index: 1;
background: url(../images/loading_small.gif) no-repeat center 15px #000;
-moz-border-radius: 99px;
-webkit-border-radius: 99px;
border-radius: 99px;
}
#preloader > span > span{
display: block;
margin-top: 40px;
font: normal normal 14px/30px 'Open Sans Condensed Bold', Arial, sans-serif;
text-align: center;
text-transform: uppercase;
color: #fff;
}
#preloader.landing > span{
background-position: center center;
}
#preloader.landing > span > span{
text-indent: -9999px;
}
StackOverflow에 오신 것을 환영합니다! 질문이 폐쇄 소스 제품에 관한 것이라면 공식 문서를 참조하십시오. 코드에 액세스 할 수있는 경우 질문에 관련 스 니펫을 게시하여 해당 코드와 관련된 구체적인 답변을 제공 할 수 있습니다. 자세한 내용은 [내 웹 사이트 또는 프로젝트의 일부가 작동하지 않습니다.]를 참조하십시오. 그냥 링크를 붙여 넣을 수 있습니까?] (http://meta.stackexchange.com/questions/125997/something-in-my-web-site-or-project-doesnt-work-can-i-just-paste -a-link-to-it) –
CSS stlye로 요소를 숨길 수 있습니다 :'display : none'. – Alvaro
다음은 올바른 수정이 필요한 것입니다. 위의 추가 코드보기 –