why does pre tagged content show up with black background
-
I’ve found that when posting poems to my site, the “pre” tag is the best way to format the poem correctly. However, I’ve also found that at times the poem posts with white text in a black box. Is there a way to remove that black background so that it fits better with the overall look of the rest of the post? Here is an example of what I’m seeing: http://theultimatepenultimate.com/2015/04/03/edwin-morgan-good-friday/
Thanks!
The blog I need help with is: (visible only to logged in users)
-
I’ve also found that at times the poem posts with white text in a black box. Is there a way to remove that black background so that it fits better with the overall look of the rest of the post?
Your current theme adds some CSS styles to your “pre” tag that is causing the black background. I can give you some code to paste in your CCS box to fix that. Do you want a black background and the same text color as your normal body text, or something else?
-
Hi Liz,
I’d prefer something that would be more along the lines of a white background with black text if possible.
Thank you!
-
If you add the following CSS code to the CSS box in your customizer you can override the theme settings for pre-formatted text
pre{ background: #fff; color: #000; }Let me know if you need anything else!
-
-
- The topic ‘why does pre tagged content show up with black background’ is closed to new replies.