28172 sujets

CSS et mise en forme, CSS3

Bonjour à tous,
je travaillle sur un site e-commerce (http://www.cloripa.com) avec woocommerce de wordpress. J'ai donc télécharger un theme qui correspond à mes attentes mais le problème c'est au niveau du mega-menu vertical. j'aimerais que le sous-menu deroulant ne soit pas au niveau du menu mais s'affiche comme sur ce site: http://www.babashop.ci.
voici le css du sous-menu vertical
/** VETICAL MENU **/
.vertical-menu-list{
  padding: 0;
}
.vertical-menu-list>li{
  list-style: none;
}
.vertical-menu-list>li>a>img{
  vertical-align: middle;
  margin-right: 15px;
}
.vertical-menu-list .menu-item-has-children>a:before{
  display: inline-block;
  font-family: Arial;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\f105";
  position: absolute;
  top: 0px;
  right: 8px;
}
.vertical-menu-list .menu-item-has-children{
  position: relative;
}
.vertical-menu-list .sub-menu{
  position: absolute;
  min-width: 200px;
  top: -0px;
  left: 100%;
  right: 100%;
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 0;
  -webkit-box-shadow: 0 6px 12px rgba(0,0,0,0);
  box-shadow: 0 6px 12px rgba(0,0,0,0);
  margin: 0;
  -webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
  transition: opacity 0.5s, transform 0.5s;
  -webkit-transition: all 0.45s ease-out 0s;
  -moz-transition: all 0.45s ease-out 0s;
  -o-transition: all 0.45s ease-out 0s;
  transition: all 0.45s ease-out 0s;
  opacity: 0;
  display: block;
  visibility: hidden;
  z-index: 999;
  margin-top: 0px;
  padding: 0;
}

.vertical-menu-list li.show-submenu >.sub-menu{
  visibility: visible;
  opacity: 1;
}
.vertical-menu-list ul.sub-menu>li{
  line-height: 24px;
}
.vertical-menu-list ul.sub-menu>li>a{
    padding: 8px 15px;
    width: 100%;
    display: inline-block;
}
.vertical-menu-list .megamenu{
  padding: 25px 15px;
}

.vertical-menu-list .mega-group-header{
  text-transform: uppercase;
  border-bottom: 1px solid #eaeaea;
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 13px;
  margin-top: 15px;
  color: #333;
  line-height: 32px;
  position: relative;
  margin:0;
  margin-bottom: 20px;
}
.vertical-menu-list .mega-group-header span{
  border-bottom: 1px solid #ff3366;
  height: 32px;
  margin-bottom: -1px;
  display: inline-block;
  position: relative;
}
.vertical-menu-list .mega-products{
  line-height: 24px;
}
.vertical-menu-list .mega-product{
  border-right: 1px solid #eaeaea;
}
.vertical-menu-list .mega-product:last-child{
  border-right:none;
}
.vertical-menu-list .mega-product .price{
  font-size: 18px;
  color: #ff3366;
}
.vertical-menu-list .mega-product ins{
  float: left;
  text-decoration: none;
}
.vertical-menu-list .mega-product del{
  margin-left: 10px;
  color: #666;
  font-size: 14px;
}
.vertical-menu-list .mega-product .product-star{
      color: #ff9900;
      font-size: 13px;
}
.vertical-menu-list .mega-product .product-star .fa{
  margin-right: 4px;
}
.vertical-menu-list .mega-product .product-star .fa:last-child{
  margin-right: 0;
}
.band-logo.no-product h3{
  background: #eaeaea;
  cursor: pointer;
  height: 66px;
  text-align: center;
  text-transform: uppercase;
  line-height: 64px;
  margin: 0;
  border: 1px solid #eaeaea;
}
.band-logo.no-product h3:hover{
  background-color: #fff;
}
.lazy{
    background-image:url('../images/ajax-loader.gif');
    background-repeat:no-repeat;
    background-position:center;


cordialement,
Smiley decu Smiley decu