-
AuthorPosts
-
April 6th, 2016 at 10:15 #36325Chris Garland
I’ve got loads of custom CSS in the Miscellaneous section & while most of it is being used (colour, font family, etc) the text size is being ignored.
How do I sort this out?
Thanks
April 7th, 2016 at 17:47 #36334BenI got the same problem with “Tempera”. I accepted setting font-weight to bold, but ignores the size.
Used CSS:
h4 {
font-size: 1em;
font-weight: bold;
}April 10th, 2016 at 12:31 #36364ZedCryout Creations mastermindMake the styling more specific by adding body (or more exact containers) in front of the identifier or making the rules !important.
If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic.May 3rd, 2016 at 21:14 #36604Chris GarlandHi,
Umm, can you give me an example please?
Also, on a similar way, I’ve followed rule C6 (hiding page titles), but that’s also being ignored by my child theme.
How would I resolve that issue?
Thanks!
Chris
May 7th, 2016 at 11:02 #36628ZedCryout Creations mastermindMaking CSS more specific usually solves styling that does not apply (due to existing theme styling overriding it).
For example, if
#content p { }
does not work, change that to
#parent-container #content p { }
or
body #content p { }
If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic.May 26th, 2016 at 15:54 #36784Chris GarlandPerfect. Thanks!
May 26th, 2016 at 16:58 #36786Chris GarlandHmm…Tried both the #parent-container #content p { } & body #content p { } options and although the body #content did most of it (colour, italics, centring,) it didn’t do the size. Something must be stoping it somewhere else & I suspect that it’s the Test settings Headings Font setting that’s doing it (trial and error proved it).
Have you got any additional suggestions Zed?
-
AuthorPosts
The topic ‘FAQ C19 followed but CSS being ignored?’ is closed to new replies.