Can I use CSS to override the DailyMag Theme font size.
-
I am using wordpress.com and my site is at theology.news. I am using the DailyMag theme. My client feels the paragraph font is (a) too large and (b) the lines in the sentences are too far apart.
Goal: set the the base font for paragraphs to something like 10pt.
I began by going to Customize Theme > Font > and choosing “Small” for the Base Font size (rather than normal). Although easy, that seems TOO small (almost like an 8 or 9pt font). If I set the base font to “normal” size it seems too big, like a 12pt or 13pt font. I need something like 10pt.
So I figure I should try some css. I head over to Customize Theme > Additional CSS. I type in some simple css like this:
p {
font-size:10px;
}(BTW the “additional CSS” field is completely empty except for the above. But no matter what I enter for the font size, nothing changes, which seems to imply that the css is being overridden or controlled elsewhere?
Once I solve this, my next question will be how to change spacing between lines in a paragraph. All of them seem like they are at 1.5 line spacing and i want them at something like “single” space when working in a Word doc.
The blog I need help with is: (visible only to logged in users)
-
I installed a CSS plugin, and discovered that the elements were just oddly named. For someone else wanting to do this, try using a CSS editor that will allow you to mouse over part of your page… and see the name of various css elements. (Chrome does this too with built in tools)
-
Hi @theologicalnews, we can help you find the specific CSS needed for your theme. It looks like right now it’s got styles coming in from a few different places (so-css, the font size option in the customizer, and the CSS section of the customizer, for example). That could be why you’re running into conflicts, or it could be that you’ve already found a solution on your own via the so-css thing.
If you do still need help, can you clarify what the so-CSS is so we’re on the same page there?
- The topic ‘Can I use CSS to override the DailyMag Theme font size.’ is closed to new replies.