Jump to content

How do I modify product attributes on my home page?


Recommended Posts

The version I’m using is PrestaShop 1.6.0.11

www.jamaicaskyblue.com

 

I need help to modify the following product attributes that are displayed in the featured products module, that’s hooked to the center column of my homepage. They are the font size, the product description, the add to cart box, and the more box, that all appear under the product images.

 

Please advise which files I need to be editing, and also the location within each file.

 

Thanks in advance.

Link to comment
Share on other sites

Hello

 

You could try putting this code at the bottom of product.css or global.css

 

.product-name{font-size:12px!important}
.button.ajax_add_to_cart_button span {padding:4px 4px!important;}
.button.lnk_view span {padding: 4px 4px!important;}
 
You can play about with the numbers
 
This will change the style on other pages
 
Paul
Link to comment
Share on other sites

Thanks Paulito,

 

Your code did the trick for the product description, and padding around the 2 boxes “Add to cart” & “More” but it did not effect the fonts in those 2 boxes, or the product price font size.

 

Also, is there anyway of making all the product information lines closer together, the line spacing seems a little too wide, I would like it to look like this www.jamaicaskyblue.net

 

Thanks in advance.

Link to comment
Share on other sites

Hello

 

/*  ADD TO CART  */
.button.ajax_add_to_cart_button span{font-size:12px!important;}
 
/*  PRICE  */
 .content_price span{font-size:13px!important;}
 
/*  MORE   */
 .button.lnk_view span{font-size:13px!important;}
 
Paul
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...