Jump to content

[solved] cross selling - displays products wrong


Recommended Posts

Most likely, you are using a theme that was created before the cross-selling module was added to PrestaShop. You'll need to copy the following code into your global.css:

/* crosselling block */
#crossselling {
   margin: 0 auto 0;
   height: 120px;
   width: 100%
}
#crossselling_noscroll {
   margin: 0 auto 0;
   height: 120px;
   width: 100%
}
#crossselling_list {
   overflow: hidden;
   float: left;
   width: 96%
}
#crossselling_list ul {
   padding-left: 0;
   list-style-type: none
}
#crossselling_list li {
   float: left;
   margin: 0 3px;
   cursor: pointer;
   text-align: center;
   width: 100px;
   overflow: hidden
}
#crossselling_scroll_left,
#crossselling_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
}
#crossselling_scroll_right { background-image: url('../img/thumbs_right.gif') }

  • Like 1
Link to comment
Share on other sites

  • 3 months later...
  • 3 weeks later...

Please, if someone can tell me, where to place exactly the code in the global.css in the Themes directory.

I tried to place the code in several diferent parts of the global.css, but every time I had a colateral effect, which was that my left and right columns where displaced down 1 line.

Thanks in advance!

Link to comment
Share on other sites

  • 1 year later...

Most likely, you are using a theme that was created before the cross-selling module was added to PrestaShop. You'll need to copy the following code into your global.css:

 

/* crosselling block */
#crossselling {
margin: 0 auto 0;
height: 120px;
width: 100%
}
#crossselling_noscroll {
margin: 0 auto 0;
height: 120px;
width: 100%
}
#crossselling_list {
overflow: hidden;
float: left;
width: 96%
}
#crossselling_list ul {
padding-left: 0;
list-style-type: none
}
#crossselling_list li {
float: left;
margin: 0 3px;
cursor: pointer;
text-align: center;
width: 100px;
overflow: hidden
}
#crossselling_scroll_left,
#crossselling_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
}
#crossselling_scroll_right { background-image: url('../img/thumbs_right.gif') }

 

thanks, a perfect solution;)

  • Like 1
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...