반응형 메뉴를 만들고 있는대 모바일에선 되는대 윈도우에서 안먹습니다.

반응형 메뉴를 만들고 있는대 모바일에선 되는대 윈도우에서 안먹습니다.

QA

반응형 메뉴를 만들고 있는대 모바일에선 되는대 윈도우에서 안먹습니다.

본문

1024이하 해상도부터 메뉴형태가 바뀌게 만들고 있는대 

아래 홈페이지 소스를 수정해

http://alicejj.tistory.com/176

이렇게 만들고 잇습니다.

http://smiletrip.tk/shop/

그냥 저 원본소스에서 css를 수정하면 되는대 영카트에 소스를 붙혀넣으니 안되는대 무엇이

문제일까요?

 


/* clearfix */
.clearfix:before, .clearfix:after{
    content:"";, display: table;
}
.clearfix:after{
    clear:both;
}
.clearfix{
    *zoom:1;
}

nav{
    height: 40px;
    width: 100%;
    background: #455868;
    font-size: 11pt;
    font-family: 'PT Sans', Arial, Sans-serif;
    font-weight: bold;
    position: relative;
    border-bottom: 2px solid #283744;
}
nav ul .clearfix{
    padding: 0;
    position: relative;
    margin: 0 auto;
    width: 920px;
    height: 40px;
}
nav li{
    display: inline;
    float: left;
}
nav ul.clearfix2{
    width: auto;
    display: inline
    position:relative;
    float: right;
}
nav a{
    color: #fff;
    display: inline-block;
    width: 100px;
    text-align: center;
    text-decoration: none;
    line-height: 40px;
    text-shadow: 1px 1px 0px #283744;
}
nav li a{
    border-right: 1px solid #576979;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
nav li:last-child a{
    border-right: 0;
    }
nav a:hover, nav a:active{
    background-color: #8c99a4;
}
nav a#pull{
    display: none;
}
/*Styles for screen 600px and lower*/
@media only screen and (max-width : 1024px) {
    nav {
        border-bottom: 0;
        height: auto;
    }
    nav ul {
        display: none;
        height: auto;
    }
    nav a {
          text-align: left;
          width: 100%;
          text-indent: 25px;
      }
    nav a#pull {
        display: block;
        background-color: #283744;
        width: 100%;
        position: relative;
    }
    nav a#pull:after {
        content:"";
        background: url('nav-icon.png') no-repeat;
        width: 30px;
        height: 30px;
        display: inline-block;
        position: absolute;
        right: 15px;
        top: 10px;
    }
    nav li {
        display: block;
        float: none;
        width: 100%;
    }
    nav li a {
        border-bottom: 1px solid #576979;
    }
}

이 질문에 댓글 쓰기 :

답변 1

영카트의 css 와 명칭이 겹쳐서 그런 겁니다.

원본 사이트의 css 를 일일이 찾아서 명칭을 바꿔주거나

영카트의 css 를 찾아서 삭제해야 될겁니다.

좀 귀찮은 작업이죠..^^;;

답변을 작성하시기 전에 로그인 해주세요.
전체 159
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT