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

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

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:
Family offices brace for higher inflation with real estate and alternative investments
From Clawdbot to Moltbot to OpenClaw: Meet the AI agent generating buzz and fear globally
From PopMart to JD.com: Britain and China rush to forge business deals as diplomatic thaw takes hold  
Friday's jobs report will be delayed because of the partial government shutdown
Disney signals its next CEO will take over a company with strong momentum
These names on Josh Brown's best stocks list showed strength during last week's volatility. One is forming a 'golden cross'
Nvidia shares are down after a report that its OpenAI investment stalled. Here's what's happening
Trump says U.S. and India reached trade deal, will lower tariffs immediately
Why the catastrophe bond market is so hot right now
Rare earth miners jump as Trump is eyeing mineral stockpile to reduce China dependence