The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
How to normalize fo...
 
Share:
Notifications
Clear all

[Solved] How to normalize font across devices?

4 Posts
2 Users
1 Reactions
507 Views
Posts: 5
Topic starter
(@csmdiscuz)
Active Member
Joined: 2 years ago

Our comments are a different size on desktop, mobile, and tablet. Is there a way to target these individually in CSS, or alternatively a way to normalize comment fonts across devices? Ideally we would have desktop at 20px, tablet at 18px, and mobile at 16px.

Topic Tags
3 Replies
Posts: 5
Topic starter
(@csmdiscuz)
Active Member
Joined: 2 years ago

Using/inheriting the font size from the theme would also be amazing if that's an option.

1 Reply
Asti
 Asti
Support
(@asti)
Joined: 7 years ago

Illustrious Member
Posts: 7615

@csmdiscuz,

Please try to use the CSS code below: 

#wpdcom .wpd-comment-text p {
     font-size: inherit !important;
}

Put the code in the "Custom CSS code" textarea, located in the Dashboard > wpDiscuz > Settings > Styles & Colors admin page.

Don't forget to delete the caches before checking.

If the code doesn't help, provide us the example URL where we can see the wpDiscuz activated.

Posts: 5
Topic starter
(@csmdiscuz)
Active Member
Joined: 2 years ago

Thanks Asti. That didn't work but we were able to target each device using @media queries.

Share: