Jump to content

[solved] modify the space in the featured product block and text overlapping in product list view


Recommended Posts

Hi,

 

I am new to Prestashop and have really basic understanding of the css editing.

 

I have attached two pictures to clarify my questions.

 

In the featured product block on the bottom of the homepage, the image of the featured product is not as close to the price line as I wish. I would also like to the add and view buttons are right under the price line. I have tried to change the global.css to achieve the look I want, but with no success.

 

For the product list view, the full product name got truncated at first. After I did some research on this forum, I managed to change product-list.tpl and have the full name displayed. However, the name and the price got overlapped. It has turned out, the texts would definitely get overlapped each other if the full product names were to be displayed.

 

Please let me know if you need more information to help me. Thank you for all your kind assistance in advance.

post-633732-0-41948800-1374820685_thumb.png

post-633732-0-23706900-1374820687_thumb.png

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

change the:

padding: 20px 0 0px 0;

to

padding:0px!important;

in the file: /themes/theme542/css/global.css

 

final code:

#featured_products ul li span.price {
display: inline-block;
padding: 0px!important;
font-size: 22px;
color: #000000;
font-weight: normal;
}

Link to comment
Share on other sites

i checked it once again, this code doesnt change the top menu values:

HgepoZc.png

 

 

problem is with tmheaderlinks:

change the top: 8px; to top:-8px!important;

 

#tmheaderlinks {
position: absolute;
left: -29px;
top: -8px!important;
list-style: none;
}

 

do the same for all other modules / blocks attached to the top bar

Link to comment
Share on other sites

hello i marked this thread as solved

please follow the forum rules and create new topic for your another question

sorry for bothering you, but then your question and solution there will be more visible and it will be helpfull for other merchants here

 

thanks in advance

regards

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...