Jump to content
Sign in to follow this  
malcek

Alignment in Product

Recommended Posts

I'm having problem to find the code that controlles in the same category view. I would liket that product are align in horizontal line. Can anybody help me with this

thanks,
Martin

12815_N8mXrvHcICbTrKXpXLRz_t

Share this post


Link to post
Share on other sites

Below is the code in global.css that you need to change. If your theme is designed for an earlier version of Prestashop, it may not contain this code. In this case, you should add it to the global.css and modify it to fit in with your theme.

/* category Products block */
#productscategory{
   margin:2em auto 0pt;
   height:120px;
   width:100%;
}

#productscategory_noscroll{
   margin:2em auto 0pt;
   height:120px;
   width:100%;
}

#productscategory_list{
   overflow:hidden;
   float:left;
   width:96%;
}
#productscategory_list ul{
   padding-left:0px;
   list-style-type:none;
}
#productscategory_list li{
   float:left;
   margin:0 3px;
   cursor:pointer;
   text-align:center;
   width:100px;
   overflow:hidden;
}
#productscategory_scroll_left, #productscategory_scroll_right{
   background: url('../img/thumbs_left.gif') no-repeat center;
   text-indent:-3000px;
   display:block;
   width:9px;
   height:18px;
   float:left;
   margin-top:30px;
}
#productscategory_scroll_right{
   background-image: url('../img/thumbs_right.gif');
}

Share this post


Link to post
Share on other sites

Thanks a lot. It helps me in a second and now it working OK. Now there is only the attributes, which should be differently arrange, not as product, but just as thick box. But that's is job for PS team!

Thanks again,
Martin

p.s.: Do you know how add new file format to add to order by the costumer (now it is possible only gif, jpeg, pgn)

Share this post


Link to post
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
Sign in to follow this  

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More