lemonmade / bigfoot

A jQuery plugin for creating exceptional footnotes.
http://www.bigfootjs.com
MIT License
936 stars 69 forks source link

Trying to use the numbered style, but the button displays `:.` rather than the footnote number. #38

Closed ryan-p-randall closed 9 years ago

ryan-p-randall commented 9 years ago

As a newbie to this, I found that the regular bigfoot-number.scss alone would give the footnote buttons the correct number, but the pop-ups would appear way off in the left sidebar of my theme rather than from the buttons themselves. So I currently have both bigfoot-number.scss and bigfoot-button.scss. This fixes the weird pop-up positioning, but now the footnote buttons display :. instead of the proper footnote numbers.

I've tried tinkering with the scss but I don't know where to include the content: attr(data-footnote-number); bit—or even if the problem is coming from the scss or the footnote markup itself.

Here's an example: http://ryan-p-randall.github.io/2014/bigfoot-spotting/

Any pointers would be appreciated!

ryan-p-randall commented 9 years ago

Oh, I figured out that I needed to add positionContent: "true" to the Javascript options. Nevermind!