Jump to content

Recommended Posts

Boa noite, segui este post para colocar 4 imagens em cada coluna nas categorias,

https://www.prestashop.com/forums/topic/316622-how-to-add-more-columns-to-product-list-on-ps-16/

mas fiquei com um problema, quando acedo ao site pelo telemóvel ou tablet nas categorias as imagens não ficam aos pares, ficando 2 depois 1, 2 depois 1.

Ao mudar {assign var='nbItemsPerLineTablet' value=3} para 2 resolve mas de 4 imagens passa logo para 2 deixando um espaço do lado direito.

Alguém me pode ajudar??

Obrigada.

https://toquefinal.pt/

image2.png

image1.png

Share this post


Link to post
Share on other sites

Penso ter resolvido em product_list.css

 

/*******************************************************
Product list(Grid) Styles
********************************************************/
ul.product_list.grid > li {
  padding-bottom: 20px;
  text-align: center; }
  @media (min-width: 480px) and (max-width: 767px) {
    ul.product_list.grid > li {
      width: 50%;
      float: right; } } <<<< aqui estava left

 

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

×
×
  • Create New...

Important Information

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