0
Not a bug

default.css not being used?

John Wickerson 5 years ago updated by Christian Fritz 5 years ago 1

For some reason, I find that bibbase_icon_text elements (e.g. the text saying "paper" next to each url field) are not being displayed. Yet if I explicitly load the default.css file (using "...&css=http://bibbase.org/css/styles/default.css&...") then the text is correctly shown. Perhaps the default.css file is not actually being used, or is being overridden somehow?

Answer

Answer
Not a bug

The &css= option primarily indicates that you are providing your own css (and on an embedded page you don't even need to provide the url but can just state &css=1). When you do that, then BibBase will *not* apply the defaults, one of which is hiding the text in favor of the icons. A typical use of css is in fact to do the inverse: hide the icon and show the text.

Answer
Not a bug

The &css= option primarily indicates that you are providing your own css (and on an embedded page you don't even need to provide the url but can just state &css=1). When you do that, then BibBase will *not* apply the defaults, one of which is hiding the text in favor of the icons. A typical use of css is in fact to do the inverse: hide the icon and show the text.