Jump to content

[SOLVED] Left column modules no longer visible


Recommended Posts

hi Guys 

 

After removing the right column in my 2 column template and then replacing this with a left column and also extending the centre column (non default Prestashop template theme) I have found that the following modules no longer show up in the left column even though I have attached them to the left column hooks ?

 

SPECIALS

VIEWED PRODUCTS

TOP SELLERS

 

,also how do I adjust the spacing between my images in the FEATURED PRODUCTS module on the homepage (editing non default CSS GLOBAL script) I just can't seem to distance/pad them apart from each other to achieve a 3 image line as they are all bunched up on the page ,please can anybody help me further ..

 

url:  www.handprint-tshirts.co.uk

 

kind regards

Mike

post-690052-0-12197500-1387047637_thumb.jpg

Link to comment
Share on other sites

hi 

so sorry for the late reply I was watching my mailbox not the forum  :wacko:

 

Yes I have reset the three modules now and when I click the link in the bottom cms block the SPECIALS comes back with there are no price drops  and the TOP SELLERS  there are no new products but the modules don't actually show up , however the VIEWED PRODUCTS block does show one single pic at the moment and the module is visible in the left column ,maybe the shop needs to have more activity before these modules become visible ?

 

Mike

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

if there is no best sellers and prices drop, these modules will not appear.

 

in php code you can see:
 

if ($best_sellers === false)
return;

in basic words it means: if there is no best sellers - don't display block (return nothing), the same with new products block :)

  • Like 1
Link to comment
Share on other sites

hi Vekia (Milosz)

 

Thank you now that explains everything  :)

(I thought that the module would show even if it was empty)

 

with regards to the padding question. I have attached the global file just in-case you can point me to the horizontal adjustment that I need ,I have been trying all the lines of code but I just can't find the one that separates the pics horizontally when trying to line 3 pics together ...

 

Cheers

Mike

 

post-690052-0-69776900-1387301935_thumb.jpg

Link to comment
Share on other sites

for the first, if i Were you i will decrease size of image to 174px

width: 174px;
margin: 1px!important;

use it here:
 

#featured_products ul li img.vky {
display: block;
width: 174px;
margin: 1px!important;
}

global.css line 750

 

 

then increase margin-right param to 62px in:

#featured_products ul li {
text-align: center;
margin-bottom: 10px!important;
float: left;
width: 180px;
margin-right: 62px;
position: relative;
background: url(../img/prod-bg.png) no-repeat 0 0;
height: 314px;
}

global.css line 746

 

effect:
b6WDEHf.png

  • Like 1
Link to comment
Share on other sites

'WOW' this code really confuses me I think I need to go on a html course lol

Thank you M

I've got it now I understand its worked perfectly!!!

please could you tell me finally how I can space the 3 images horizontally away from the left column slightly to the right (without widening the left column) and then I will be sorted ;)

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

  • 2 weeks later...

hi Milos 

 

Sorry to come back to this topic however I still have a little problem with my responsive store template, when I view the mobile version on a smart phone only half of the image and text is showing ,please could you point me to the line of code that can correct this ;)

 

kind regards

Mike

Link to comment
Share on other sites

×
×
  • Create New...