WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. jbeidler
    Member
    Posted 1 year 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.

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

  2. gillespieza
    Member
    Posted 1 year ago #

    +1 to this feature request.

  3. philliplord
    Member
    Plugin Author

    Posted 1 year ago #

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

  4. jbeidler
    Member
    Posted 1 year ago #

    Cool, thanks!

  5. gillespieza
    Member
    Posted 9 months 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:

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags