Jump to content

Modifier hauteur ou ajustement du texte dans produits phares


saiga

Recommended Posts

Dans mon fichier j'ai celà:

J'ai modifié #featured-products_block_center .product_desc {height:45px;} mais rien ne bouge.

 

#featured-products_block_center li {
    margin-right:10px;
    padding:10px 0;
    width:126px;
    height:240px
}
#featured-products_block_center li.last_item_of_line  {margin-right:0;}
#featured-products_block_center .s_title_block,  #featured-products_block_center h5 {
    padding-top:5px;
    height:30px;
    font-size:12px;
    color:#222;
    padding-bottom: 0;
    font-weight:bold;
}

#featured-products_block_center .product_image {
    display:block;
    position:relative;
    overflow:hidden
}
#featured-products_block_center .product_image span.new {
    display: block;
    position: absolute;
    top: 15px;
    right:-30px;
    padding: 1px 4px;
    width: 101px;
    font-size:10px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform:rotate(45deg);
    -ms-transform: rotate(45deg);
    background-color: #990000;
    transform: rotate(45deg);  /* Newer browsers */
}

#featured-products_block_center .product_desc {height:45px;}
#featured-products_block_center .product_desc,
#featured-products_block_center .product_desc a {
    color:#666
}
#featured-products_block_center .lnk_more {
    display:inline;
    padding-right:10px;
    font-weight:bold;
    font-size:10px;
    color:#0088cc;
    background:url(img/arrow_right_1.png) no-repeat 100% 3px;
}
#featured-products_block_center .price_container {
    margin-top:10px;
    padding:0;
}
#featured-products_block_center .price {
    font-weight:bold;
    font-size:14px;
    color:#990000
}
#featured-products_block_center li .ajax_add_to_cart_button {display:none;}
#featured-products_block_center li span.exclusive {display:none;}

Edited by saiga (see edit history)
Link to comment
Share on other sites

Il te suffit de mettre un 65px à la place du 45px

 

J'ai mis une couleur bleu sur la ligne en question

 

 

Dans mon fichier j'ai celà:

J'ai modifié #featured-products_block_center .product_desc {height:45px;} mais rien ne bouge.

 

#featured-products_block_center li {
    margin-right:10px;
    padding:10px 0;
    width:126px;
    height:240px
}
#featured-products_block_center li.last_item_of_line  {margin-right:0;}
#featured-products_block_center .s_title_block,  #featured-products_block_center h5 {
    padding-top:5px;
    height:30px;
    font-size:12px;
    color:#222;
    padding-bottom: 0;
    font-weight:bold;
}

#featured-products_block_center .product_image {
    display:block;
    position:relative;
    overflow:hidden
}
#featured-products_block_center .product_image span.new {
    display: block;
    position: absolute;
    top: 15px;
    right:-30px;
    padding: 1px 4px;
    width: 101px;
    font-size:10px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform:rotate(45deg);
    -ms-transform: rotate(45deg);
    background-color: #990000;
    transform: rotate(45deg);  /* Newer browsers */
}
#featured-products_block_center .product_desc{height:45px;}
#featured-products_block_center .product_desc,
#featured-products_block_center .product_desc a {
    color:#666
}
#featured-products_block_center .lnk_more {
    display:inline;
    padding-right:10px;
    font-weight:bold;
    font-size:10px;
    color:#0088cc;
    background:url(img/arrow_right_1.png) no-repeat 100% 3px;
}
#featured-products_block_center .price_container {
    margin-top:10px;
    padding:0;
}
#featured-products_block_center .price {
    font-weight:bold;
    font-size:14px;
    color:#990000
}
#featured-products_block_center li .ajax_add_to_cart_button {display:none;}
#featured-products_block_center li span.exclusive {display:none;}

Link to comment
Share on other sites

Alors il va falloir ajouter une ligne 

 

#featured-products_block_center.block {
margin-bottom:20px;
}

 

Toujours dans le même fichier homefeatured.css 

#featured-products_block_center li {
    margin-right:10px;
    padding:10px 0;
    width:126px;
    height:240px
}
#featured-products_block_center li.last_item_of_line  {margin-right:0;}
#featured-products_block_center .s_title_block,  #featured-products_block_center h5 {
    padding-top:5px;
    height:30px;
    font-size:12px;
    color:#222;
    padding-bottom: 0;
    font-weight:bold;
}
#featured-products_block_center.block {
    margin-bottom:20px;
}
#featured-products_block_center .product_image {
    display:block;
    position:relative;
    overflow:hidden
}
#featured-products_block_center .product_image span.new {
    display: block;
    position: absolute;
    top: 15px;
    right:-30px;
    padding: 1px 4px;
    width: 101px;
    font-size:10px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform:rotate(45deg);
    -ms-transform: rotate(45deg);
    background-color: #990000;
    transform: rotate(45deg);  /* Newer browsers */
}
#featured-products_block_center .product_desc{height:45px;}
#featured-products_block_center .product_desc,
#featured-products_block_center .product_desc a {
    color:#666
}
#featured-products_block_center .lnk_more {
    display:inline;
    padding-right:10px;
    font-weight:bold;
    font-size:10px;
    color:#0088cc;
    background:url(img/arrow_right_1.png) no-repeat 100% 3px;
}
#featured-products_block_center .price_container {
    margin-top:10px;
    padding:0;
}
#featured-products_block_center .price {
    font-weight:bold;
    font-size:14px;
    color:#990000
}
#featured-products_block_center li .ajax_add_to_cart_button {display:none;}
#featured-products_block_center li span.exclusive {display:none;}
Edited by DeyDDy (see edit history)
Link to comment
Share on other sites

  • 8 months later...

Boujour à tous,

 

J'ai réussi à changer la couleur de fond de la barre menu de "produit phare" et "meilleur vente"...

ligne 6009 du global.css

 

#home-page-tabs {
  border: none;
  background: none; }

 

Mais comment rajouter la petite barre qui sépare les 2 catégories ?  suivant les thèmes elle y est ou pas mais je trouve pas le paramètre à changer.

 

 

Merci.

Edited by akrev (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...