• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 21.09.21, 16:54
  • Opened by: RAUL HERNANDEZ
  • Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #22300 - AMP products

How can I change the font size of the name and price of the products on the category page for the AMP version? I would like a smaller size and that first shows the title of the product and then the price.

I have the same problem when displaying products of the same category in AMP. I want the same category module to show 2 products (2 columns with the name and price below the image)

Thanks for your help

Attachments:

1632235544162.jpg (379.2 KiB)
1632235544152.jpg (249.6 KiB)

Comments

Fred 22 Sep 2021, 10:58

Hi, RAUL HERNANDEZ.
You can change the font with customer CSS for example

.product-miniature .price {font-size:20px}
.product-miniature .product-title {font-size:16px}

Add it to AMP settings → Customer CSS

RAUL HERNANDEZ 22 Sep 2021, 11:51

Thank you. How can I make the title appear first, then the price and then the available colors? It would be 3 different lines. I attach an example

Attachments:

AMP tittle,price, colour.JPG (9.5 KiB)
Fred 22 Sep 2021, 12:54

you have to edit the file /public_html/themes/alysum/templates/mobile/catalog/product.tpl