Jump to content

Same style for best sellers block as new products block...


Recommended Posts

helllo

thank you for creating new topic

 

change width to 95px in: (blockbestsellers.css)

#best-sellers_block_right li p {
float: left;
margin-left: 7px;
padding: 0;
width: 125px;
font-weight: normal;
font-size: 12px;
}

remove width:67px; and background: #cccccc;

#best-sellers_block_right li a.content_img {
display: block;
float: left;
padding: 1px;
height: 47px;
width: 67px;
text-decoration: none;
background: #cccccc;
}

effect

vw6ypM8.png

Link to comment
Share on other sites

helllo

thank you for creating new topic

 

change width to 95px in: (blockbestsellers.css)

#best-sellers_block_right li p {
float: left;
margin-left: 7px;
padding: 0;
width: 125px;
font-weight: normal;
font-size: 12px;
}

remove width:67px; and background: #cccccc;

#best-sellers_block_right li a.content_img {
display: block;
float: left;
padding: 1px;
height: 47px;
width: 67px;
text-decoration: none;
background: #cccccc;
}

effect

vw6ypM8.png

hi vekia.

 

thanks for the help. but how can i add the numbers like shown in my picture added above. and also how to put the border above the link all best sellers.

 

thank you.

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

in module tpl file move this:

{$smarty.foreach.myLoop.iteration}

 

before the

     <a href="{$product.link|escape:'html'}" title="{$product.legend|escape:'html':'UTF-8'}">
                                {$product.name|strip_tags:'UTF-8'|escape:'html':'UTF-8'}<br/>
                                {if !$PS_CATALOG_MODE}<span class="price">{$product.price}</span>{/if}
                            </a>
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...