Answered: How do I change the font size in comments ?

Post date: 2021-07-28 07:40:23
Views: 208

In most themes, for example SnowFlat, which is the default Q2A theme, you need to open your theme folder > and open the file qa-styles.css .

And paste the following code at the very bottom of the file:

.qa-c-item-content {
    font-size: 14px;
}

Change the pixels value for a bigger number to increase the font. 

If you want to increase the font size for mobile devices only, you would need to wrap the code above in a media query, like the example below:

@media (max-width:480px) {
    .qa-c-item-content {
        font-size: 14px;
    }
}

You might need to adjust the media query max-width value depending on your needs.
There's an article here you can read, about Media Queries for Standard Devices.

Please click Here to read the full story.
 
Other Top and Latest Questions:
Iran war threatens $11.7 trillion global travel industry as passengers get caught in crossfire
Average IRS tax refund is up 10.6%, early filing data shows
Guided tours of museums and sights in Paris?
Why would potholes appear disproportionately between the wheel tracks?
Iran vows it won't surrender as war with the U.S. and Israel enters second week
Book: Purgatorio: Canto 08
Special Event: NHL Trade Deadline 2026
Jan. 6 plaque honoring police officers quietly installed at the Capitol after a 3-year delay
One year after Trump’s sovereignty threats, Canadians keep ‘elbows up’
'E-shaped' economy is replacing a K-shaped one in 2026, economist says: The middle class is 'spending in a nervous way' now