[resolved] Suggestion: Add CSS selector to "Bibliography" heading (5 posts)

  1. jbeidler
    Posted 2 years ago #

    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.


  2. gillespieza
    Posted 2 years ago #

    +1 to this feature request.

  3. philliplord
    Plugin Author

    Posted 2 years ago #

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

  4. jbeidler
    Posted 2 years ago #

    Cool, thanks!

  5. gillespieza
    Posted 2 years ago #

    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:

       <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>

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • KCite
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic