We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

DAWN THEME — ISOLATING MOBILE PRODUCT GRID, PRICE INFO — FONT SIZE

DAWN THEME — ISOLATING MOBILE PRODUCT GRID, PRICE INFO — FONT SIZE

skymochi
Excursionist
55 0 8

Hi 

TWO QUESTIONS—

1. Is there any way to target or isolate the font size only on the MOBILE - PRODUCT GRID, every change affects the desktop as well.
2. Is there a way to reduce the padding between the product grid and the page count below?

IMG_6292.jpgIMG_6293.jpg

 

 

 

 

Replies 3 (3)

BSSCommerce-B2B
Shopify Partner
1972 564 567

Hi @skymochi , 

I have reviewed your requirement, you just need to edit css script and the issue will be resolved.  You can follow my instructions! 

 

Step 1: Go to Admin -> Online store -> Theme > Edit code:

BSSCommerceB2B_0-1722541247329.png

 

 

Step 2: Search for the file base.css. And add this code snippet to the end of the file.

ul#product-grid {
    margin-bottom: -40px !important;
}

In this step, I solved the question 2.

About question 1, Can you kindly share the details of your problem (screenshot/ record) with us? We will check it and suggest you a solution if possible.

Step 3: Save your code and reload this page.

=>> The result: 

BSSCommerceB2B_1-1722541492246.png

 

I hope these instructions will help you. If they are helpful, please give us likes and mark as the solution.

Have a nice day sir! 

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

skymochi
Excursionist
55 0 8

Hi Thank you! that worked. For problem #1.

I'd like to change the font size on the PRICE on the MOBILE product card only without affecting the font size on desk-top or the product page. 

koredoko.com
Screenshot 2024-08-01 at 12.54.00 PM.png

BSSCommerce-B2B
Shopify Partner
1972 564 567

Hi @skymochi , 

To change the font size on the PRICE on the MOBILE product card only without affecting the font size on desk-top or the product page, you can add this code snippet in the end of file base.css: 

 

@media only screen and (max-width: 768px) {
    span.price-item.price-item--regular {
        font-size: 20px !important;
    }
}

 

 

 In this step, you can change font-size as  you want and effect on only mobile view with @media only screen.

In my example, I choose "20px"

The result is: 

BSSCommerceB2B_0-1722593910085.png

 

 

I hope these instructions will help you. If they are helpful, please give us likes and mark as the solution.

Have a nice day sir! 

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now