Jump to content

Changer l'alignements des sous-categories


Recommended Posts

Bonjour,

 

je dois modifier une boutique parce que les sous catégories s'affiche verticalement et moi je voudrais qu'elles soit horizontal.

 

alors j'ai regardé le css de mon theme, le fichier categorie.css avec le code:

 

#subcategories {margin-top:15px}
#subcategories h3 {
padding:14px 12px;
font-size:13px;
color:#793c3c;
text-transform:uppercase;
text-shadow:0 1px 0 #666;
background:url(../img/bg_table_th.png) repeat-x 0 0 #fbe2e6;	 /* image de fond titre des sous catégorie */
}
.inline_list {
list-style-type:none;
margin-top:10px;
}
.inline_list  li {
padding:10px 0;
border-bottom:1px dotted #ccc
}
.inline_list  li .img {
float:left;
margin-right:15px
}
.inline_list  li img {
border:1px solid #ccc
}
.inline_list  li .cat_name {
font-weight:bold;
font-weight:13px
}

 

je l'ai remplacé par un autre code qui est le suivant:

 

body#category #subcategories li
{ *
height: 136px;
width: 108px;
margin-right: 3px;
}
div.cat_desc
{
margin: 0 1em;
}
body#category div#subcategories .inline_list a img
{
display: inline;
}
#category img#categoryImage
{
margin-top: 1em ;
}

 

mais ça n'a rien changé !!!

 

je me demande si je cherche au bon endroit, pourtant la div subcategories est bien dans ce fichier la.

 

Merci pour tout aide !

post-346543-0-13493600-1342112980_thumb.png

Link to comment
Share on other sites

  • 3 weeks later...

pour aligner tu etais au bon endroit

 

body#category #subcategories li {

clear: both;

display: block;

text-align: center;

width: 100%;

 

bon par contre moi j'arrive toujours pas a changer la taille des image de sous cat....

j'ai aligner au centre mais depuis peu plus changer la taille

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...