Jump to content
wieslawg

Prestashop 1.5.x Default Theme

Recommended Posts

I changed PrestaShop to 1.5.4.1 and theme prestashop to default.

 

Q1. I see two search boxes. How I can delete search box related to old theme?

 

Q2. FEATURED PRODUCTS. Should be four products in a one row. In our case - there is only two in a one row (four in two rows). How I can change this?

 

Regards,

post-532179-0-80101000-1367918732_thumb.jpg

post-532179-0-74773400-1367918744_thumb.jpg

Share this post


Link to post
Share on other sites

Please provide a url to your shop if it is hosted online we sample it. It could be caused by several reasons ranging from hook position to settings or the template.

Share this post


Link to post
Share on other sites

1. go to the modules -> top horizontal menu, and disable search bar in module configuration

Share this post


Link to post
Share on other sites

2. go to the modules / homefeatured / homefeatured.tpl

 

you've got there something like:

{assign var='nbItemsPerLine' value=2}

 

change it to:

{assign var='nbItemsPerLine' value=4}

 

remember that this file may also exists in themes/default/homefeatured/homefeatured.tpl - if so - you have to apply changes there

 

regards

Share this post


Link to post
Share on other sites

Thx Vekia,

 

1. Searchbox - now is OK

2. Featured - in both cases was and is now {assign var = 'nbItemsPerLine' value = 4}

Share this post


Link to post
Share on other sites

global.css line ~312

 

.products_block li {float:left}

 

add width param, for example: width:130px;

 

it looks like your homefatured module is without css styles... You use some external solution before back to the default theme?

Share this post


Link to post
Share on other sites

I see in line 619 - 627 [global.css, themes/default/css]

 

 

/* BLOCK .products_block *********************************************************************** */

 

.products_block {}

 

.products_block li {float:left

 

}

 

.products_block li img {border:1px solid #d1d1d1}

 

1. How I need add this param [width:130px;] - simply:

.products_block li {float:left, width: 130px; [?]

 

2. What external solutions you mean?

Share this post


Link to post
Share on other sites

i mean that maybe you used some non-default theme before which changed the sources of homefeatured module? By default homefeatured has got own homefeatured.css styles, in your theme this css file doesnt exist

Share this post


Link to post
Share on other sites

I used prestashop theme and changed to default.

 

Now is quasi OK, but probably need certain corrections... - do you have any suggestion?

Share this post


Link to post
Share on other sites

I think that it will be better to remove homefeatured module that you've got now in your store. Then upload & install latest module version.

I don't know if this helps, but as i said - i've noticed that now module is incomplet

Share this post


Link to post
Share on other sites

I see also "small" homefeatured.css in modules/homefeatured

Share this post


Link to post
Share on other sites

in homefeatured.php file have you got something like:

 

public function hookHeader($params)
{
 $this->context->controller->addCSS(($this->_path).'homefeatured.css', 'all');
}

 

?

Share this post


Link to post
Share on other sites

it's not default module unfortunately...

well the only thing i know about it for now, is the issue with border:

change the width value for the image to: width: 122px; - in homefeatured.tpl file located in the module directory

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×
×
  • Create New...

Important Information

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