Home Forums WoodMart support forum How to increase item title font size in product grid

How to increase item title font size in product grid

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #69373

    starmonday
    Participant

    Hi,

    May I know how I can edit the title font size for the items in the product grid please?

    Thank you!

    #69376

    Hello,

    Product title can be changed by custom CSS. Add this code the Theme settings > custom CSS:

    .product-grid-item .product-title{
        font-size:30px;
    }

    Change font-size value as per your needs.

    Best Regards

    #69386

    starmonday
    Participant

    thank you for the CSS. it works on desktop browser, but not on mobile browser. may i know how to get it to work on mobile browser too?

    #69390

    Hello,

    Make sure you have added the CSS to Global Custom CSS.

    Best Regards

    #69391

    starmonday
    Participant

    Yes, i did add to Global Custom CSS, but it doesn’t reflect on mobile browser, you can refer to the private link attached 🙂

    #69399

    Hello,

    I have checked and see that the title is the same on mobile and desktop:

    Please clarify.

    Best Regards

    #69416

    starmonday
    Participant

    Hi,

    I can see the codes in the screenshots that you posted. But on my mobile browser, the font size is not displayed correctly. Just wondering, on your mobile, does the title display as big as the desktop? Mine don’t.

    #69425

    Hello,

    Please add this code to Theme Settings > Custom CSS > Global CSS

    @media (max-width: 480px) {
    	div.product-grid-item.col-xs-6 .product-title {
         font-size: 18px;
    	}
    }

    Best Regards

    #69430

    starmonday
    Participant

    Hi,

    Just to confirm, I should paste the following in Global CSS, correct?

    .product-grid-item .product-title{
        font-size:28px;
    }
    
    @media (max-width: 480px) {
    	div.product-grid-item.col-xs-6 .product-title {
         font-size: 28px;
    	}
    }
    #69441

    Hello,

    Yes, exactly. Add it to Global CSS.

    Best Regards

    #69481

    starmonday
    Participant

    thank you!

    #69493

    You are welcome! If you have any questions please feel free to contact us.

    Best Regards

Viewing 12 posts - 1 through 12 (of 12 total)

The topic ‘How to increase item title font size in product grid’ is closed to new replies.