Closed (outdated)
Project:
Bible
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Sep 2010 at 16:50 UTC
Updated:
14 Feb 2020 at 10:15 UTC
Jump to comment: Most recent
The Bible.css file has a bug which breaks useability depending on which theme you are using. The issue I ran into was with the following code:
em {
color: #808080; /* gray */
background-color: #FAFAD2; /* Optional */
}
Because this is not class-specific, it makes several other things (such as tokens in my status messages) become unreadable on my site. I recommend using an alternative approach with an additional selector.
somediv em {
or
em.someclass {
I'm not sure where it's actually used by the Bible module so I don't have a specific recommendation. In the meanwhile, I've deleted that piece of code from my site. I'd rather have some broken on the new module rather than my whole site being affected.
Comments
Comment #1
benlotter commentedI recently upgraded to the newest version of this module and I ran into the same CSS issue. Here are some more details which I hope will help you to resolve this issue.
The CSS is bible.css is breaking the entire site. Specifically as an example, I offered the above code. At the time, I simply deleted the code form the css and added a comment into my own bible_overrides.css. Unfortunately, when I upgraded to the latest code I had it overwrite every file and the code which broke my site got back into bible.css.
Workaround:
As a workaround and so a future upgrade doesn't break my entire site again, I have placed the following code into bible_overrides.css.
Additional information in case anyone is stuck with this same issue:
In case you're not familiar with using css overrides, here is the code I put into my themes template.php file. Note I place them in reserve order so that the last one is applied while override everything above it.
So far this is what my entire bible_overrides.css file looks like.
Comment #2
avpadernoI am closing this issue, since it's for a Drupal version no longer supported.