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

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

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:
Friday's jobs report will be delayed because of the partial government shutdown
AstraZeneca is listing in New York, as Big Pharma balances the huge U.S. market with China's tempting innovation
Answered: I have a project for you... (Developer)
Elon Musk has lauded the 'social media for AI agents' platform Moltbook as a bold step for AI. Others are skeptical
Answered: I'll be taking custom jobs/orders for Q2A
The risk-reward on this payments stock looks attractive. How to trade it using a risk reversal options trade
Washington Post begins widespread layoffs, sharply shrinking storied newspaper's reach
Eli Lilly blows past quarterly estimates, posts strong outlook as Zepbound and Mounjaro sales soar
Get the first look at the R2, Rivian's $45,000 SUV. CEO RJ Scaringe gave CNBC an early peek
Anthropic says no to ads on Claude chatbot, weeks after OpenAI made move to test them