Masaüstünde bir problem yokken mobilde sanırım menü'den dolayı kayma problemi yaşıyorum. Tam olarak nereye müdahale etmem gerekiyor? ;
https://hizliresim.com/zyHFnS
https://hizliresim.com/t288Ey
Websitenin mobilde kayma problemi |
1 Mesajlar | 472 Okunma |
.custom-menu {
margin-top: 25px;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
}
.cssmenu {
position: relative;
text-align: left;
}
.cssmenu > ul {
position: relative;
display: block;
left: 200px;
background: none;
width: 100%;
z-index: 500;
list-style: none;
padding: 0;
margin: 0;
line-height: 1;
}
.cssmenu:after,
.cssmenu > ul:after {
content: ".";
display: block;
clear: both;
visibility: hidden;
line-height: 0;
height: 0
}
.cssmenu > ul > li {
display: inline-block;
position: relative;
margin: 0;
padding: 10px 0;
}
.cssmenu > ul > #menu-button {
display: none
}
.cssmenu ul li a {
font-size: 18px;
padding: 10px 18px;
color: #fff;
display: block;
line-height: 25px;
font-family: 'Amita', cursive;
text-shadow: 1px 1px 1px #000;
}
.cssmenu > ul > li > a:hover {
color: #fff
}
.cssmenu > ul > li.has-sub > a {
padding-right: 32px
}
.cssmenu > ul > li:hover > a {
color: #eee
}
.cssmenu li.has-sub::after {
display: block;
content: "";
position: absolute;
width: 0;
height: 0
}
.cssmenu > ul > li.has-sub::after {
right: 10px;
top: 20px;
border: 5px solid transparent;
border-top-color: #e8d2bd
}
.cssmenu > ul > li:hover::after {
border-top-color: #fff
}
.cssmenu ul ul {
position: absolute;
left: -9999px;
top: 60px !important;
opacity: 0;
z-index: 1000;
background: #fff;
padding: 5px;
border-bottom: 2px solid #EF3F19;
}
.cssmenu ul ul ul {
top: -1px !important;
padding: 0 0 0 5px
}
.cssmenu ul ul li {
position: relative;
list-style: none;
}
.cssmenu > ul > li:hover > ul {
left: auto;
top: 44px;
opacity: 1
}
.cssmenu.align-right > ul > li:hover > ul {
left: auto;
right: 0;
opacity: 1
}
.cssmenu ul ul li:hover > ul {
left: 170px;
top: 0;
opacity: 1;
text-align: left !important;
}
.cssmenu.align-right ul ul li:hover > ul {
left: auto;
right: 170px;
top: 0;
opacity: 1;
padding-right: 5px;
}
.cssmenu ul ul li a {
width: 200px;
font-size: 15px;
line-height: 25px;
color: #D32407;
}
.cssmenu.align-right ul ul li a {
text-align: right
}
.cssmenu ul ul li:hover > a {
color: #333
}
.cssmenu ul ul li:last-child > a,
.cssmenu ul ul li.last > a {
border-bottom: 0
}
.cssmenu > ul > li > ul::after {
border-top: 3px solid #fff
}
.cssmenu.align-right > ul > li > ul::after {
left: auto;
right: 30px
}
.cssmenu ul ul li.has-sub::after {
border: 4px solid transparent;
border-left-color: #9ea2a5;
right: 10px;
top: 12px;
-moz-transition: all .2s ease;
-ms-transition: all .2s ease;
-o-transition: all .2s ease;
transition: all .2s ease;
-webkit-transition: -webkit-transform .2s ease, right .2s ease
}
.cssmenu.align-right ul ul li.has-sub::after {
border-left-color: transparent;
border-right-color: #9ea2a5;
right: auto;
left: 10px
}
.cssmenu ul ul li.has-sub:hover::after {
border-left-color: #fff;
right: -5px;
-webkit-transform: rotateY(180deg);
-ms-transform: rotateY(180deg);
-moz-transform: rotateY(180deg);
-o-transform: rotateY(180deg);
transform: rotateY(180deg)
}
.cssmenu.align-right ul ul li.has-sub:hover::after {
border-right-color: #fff;
border-left-color: transparent;
left: -5px;
-webkit-transform: rotateY(180deg);
-ms-transform: rotateY(180deg);
-moz-transform: rotateY(180deg);
-o-transform: rotateY(180deg);
transform: rotateY(180deg)
}
#header-holder-2 .main-header {
position: static;
}
#header-holder-2 .upper-header {
border-bottom: 1px solid #EF3F19;
background-color: #EF3F19;
}
#header-holder-2 .upper-header p {
font-family: 'Roboto', sans-serif;
margin: 0;
padding: 0;
color: #fff;
font-size: 13px;
letter-spacing: -0.4px;
text-transform: none
}
#header-holder-2 .social-link ul {
text-align: right;
padding-top: 9px;
margin: 0;
}
#header-holder-2 .social-link ul li {
display: inline;
list-style: none;
padding: 0 10px;
}
#header-holder-2 .social-link ul li a .fa {
color: #555;
font-size: 15px;
font-weight: 300;
}
#header-holder-2 .header-info {
margin-top: 18px;
}
#header-holder-2 .icon-box {
display: table-cell;
vertical-align: middle;
}
#header-holder-2 .icon-box .fa {
border: 1px solid #e1e1e1;
border-radius: 50%;
height: 50px;
line-height: 50px;
margin-right: 15px;
text-align: center;
width: 50px;
font-size: 20px;
color: #EF3F19;
}
#header-holder-2 .header-content {
display: table-cell;
vertical-align: middle;
}
#header-holder-2 .header-content h3 {
color: #1d1d1d;
font-size: 17px;
margin: 15px 0 0px 0;
text-transform: uppercase;
font-family: 'Montserrat', sans-serif;
font-weight: 700;
letter-spacing: -0.8px;
}
#header-holder-2 .header-content p a {
color: #555;
font-size: 14px;
font-family: 'Poppins', sans-serif;
font-weight: 500;
letter-spacing: -0.5px;
}
#header-holder-2 .custom-menu {
background: #EF3F19;
margin: 0;
}
#header-holder-2 .cssmenu > ul > li {
border-right: 1px solid #ffffff;
}
#header-holder-2 .cssmenu ul li {
padding: 8px 0px;
}
#header-holder-2 .cssmenu ul li a {
font-size: 16px;
padding: 8px 25px;
text-transform: uppercase;
}
#header-holder-2 .cssmenu ul ul {
top: 57px !important;
}
.cssmenu {
width: auto;
}
.cssmenu ul ul {
background: #782727!important;
}
.cssmenu.align-center ul {
text-align: left
}
.cssmenu.align-right > ul > li {
float: none
}
.cssmenu ul {
width: auto;
}
.cssmenu .submenuArrow, .cssmenu #indicatorContainer {
display: none
}
.cssmenu > ul {
height: auto;
display: block;
}
.cssmenu > ul > li {
float: none;
}
.cssmenu li, .cssmenu > ul > li {
display: none
}
.cssmenu ul ul, .cssmenu ul ul ul, .cssmenu ul > li:hover > ul, .cssmenu ul ul > li:hover > ul, .cssmenu.align-right ul ul, .cssmenu.align-right ul ul ul, .cssmenu.align-right ul > li:hover > ul, .cssmenu.align-right ul ul > li:hover > ul {
position: relative;
left: auto;
top: auto;
opacity: 1;
padding-left: 0;
padding-right: 0;
right: auto
}
.cssmenu ul .has-sub::after {
display: none
}
.cssmenu ul li a {
padding: 10px 20px !important;
}
.cssmenu ul ul li a {
border: 0;
background: none;
width: auto;
padding: 10px 35px !important;
color: #fff;
font-size: 16px;
}
.cssmenu.align-right ul ul li a {
text-align: left
}
.cssmenu ul ul li:hover > a {
background: none;
color: #8c9195
}
.cssmenu ul ul ul a {
padding: 8px 50px
}
.cssmenu ul ul ul ul a {
padding: 8px 65px
}
.cssmenu ul ul ul ul ul a {
padding: 8px 80px
}
.cssmenu ul ul ul ul ul ul a {
padding: 8px 95px
}
.cssmenu > ul > #menu-button {
display: block;
cursor: pointer;
padding-top: 0;
}
.cssmenu #menu-button > a {
padding: 15px 20px !important
}
.cssmenu ul.open li, .cssmenu > ul.open > li {
display: block;
background: #993333;
border: none;
padding: 5px 0;
}
.cssmenu > ul.open > li#menu-button > a {
color: #fff;
border-bottom: 1px solid #c04343
}
.cssmenu ul ul::after {
display: none
}
.cssmenu #menu-button::after {
display: block;
content: '';
position: absolute;
height: 3px;
width: 22px;
border-top: 2px solid #fff;
border-bottom: 2px solid #fff;
right: 20px;
top: 20px
}
.cssmenu #menu-button::before {
display: block;
content: '';
position: absolute;
height: 3px;
width: 22px;
border-top: 4px solid #fff;
right: 20px;
top: 30px
}
.cssmenu ul.open #menu-button::after, .cssmenu ul.open #menu-button::before {
border-color: #fff
}
.cssmenu ul ul {
position: absolute;
left: -9999px;
top: 0!important;
opacity: 0;
-webkit-transition: opacity .3s ease, top .25s ease;
-moz-transition: opacity .3s ease, top .25s ease;
-ms-transition: opacity .3s ease, top .25s ease;
-o-transition: opacity .3s ease, top .25s ease;
transition: opacity .3s ease, top .25s ease;
z-index: 1000;
border-top: 1px solid #fff;
border-left: none;
}
.cssmenu ul ul li {
background: #782727!important;
padding: 10px 0
}
.cssmenu ul ul ul li {
background: #531C1C!important;
padding: 10px 0
}
.cssmenu ul ul li a:hover {
color: #fff
}
#header-holder-2 .header-info {
margin: 0px 0 15px 0;
}
#header-holder-2 .cssmenu ul li {
padding: 0;
border-right: 0;
}
#header-holder-2 .cssmenu ul li a {
padding: 18px 25px !important;
}
#header-holder-2 .cssmenu ul ul {
top: 0px!important;
}
#header-holder-2 .cssmenu #menu-button:before {
top: 33px;
}
#header-holder-2 .cssmenu #menu-button:after {
top: 23px;
}