WordPress.org

Support

Support » Plugins and Hacks » KCite » [Resolved] Suggestion: Add CSS selector to "Bibliography" heading

[Resolved] Suggestion: Add CSS selector to "Bibliography" heading

  • Thanks for the cool plugin! Once suggestion would be to allow styling of the “Bibliography” heading. Currently, the heading is wrapped in plain <p> tags, so there is no way to style it with CSS.

    I fixed this by editing kcite.php, where I changed <p>Bibliography</p> to <p class="kcite_bibliography_heading">Bibliography</p>. It would be nice if this were default behavior.

    http://wordpress.org/extend/plugins/kcite/

Viewing 4 replies - 1 through 4 (of 4 total)
  • +1 to this feature request.

    Plugin Author philliplord

    @philliplord

    Okay, this will be in the next version of kcite.

    Cool, thanks!

    In fact, it would be really awesome if you could wrap each section of the reference in a classed span. This would allow maximum flexibility for anyone wanting specific styling. For example:

    <li>
       <a name="ITEM-1419-0"></a>
       <span class="authors">H. Chebrou, F. Bigey, A. Arnaud, and P. Galzy,</span>
       <span class="title">“Study of the amidase signature group”</span>,
       <span class="publication">Biochimica et Biophysica Acta (BBA) – Protein Structure and Molecular Enzymology</span>,
       <span class="volume">vol. 1298</span>,
       <span class="pages">pp. 285-293</span>,
       <span class="year">1996</span>.
       <a href="http://dx.doi.org/10.1016/S0167-4838(96)00145-8">http://dx.doi.org/10.1016/S0167-4838(96)00145-8</a>
    </li>

    I’ve done this myself because I like my authors and volume numbers so be slightly bold-face (font-weight: 600).

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Suggestion: Add CSS selector to "Bibliography" heading’ is closed to new replies.
Skip to toolbar