WordPress Custom HTML/JS Ruler Bar
# July 9, 2013 at 3:51 pm
I have been trying to add these Accessibility options to my WordPress blog.
I am using the Twenty Twelve stock theme.
Opendyslexic seems to work when I replace the font-family
under the ‘custom font’ heading, simply to font-family: “Opendyslexic”;
But I couldn’t get this to happen on the Twenty Eleven theme.
AAAAANNYyyway. Basically all I want is the ruler bar following cursor added.
I have tried adding
$(“#ruler”).css(‘top’, event.pageY – 30);
and then (body)
(div id=”ruler” style=”height: 1.4em; background-color: rgba(0,0,0,.1); position: absolute; top=-100px; z-index: -1″>(/div)
Buuuut I don’t know where to. I’ve tried it with HTML adder plugin for sidebar.
CSS & JS toolbox plugin. But I have no idea what i’m doing.
I got it working on my tumblr. Apart from Opendyslexic font.
I tried editing the Style.css but no idea what i’m doing.
Maybe the solution could be to create something with JS toolbox.
So that every post made (with RAW HTML plugin installed.) triggers the ruler function.
This way it will only appear in posts? aaaah I have no idea.
But i’ve been at this for hours and don’t know what to do.
It was of course easy for my own html webpage and tumblr wasn’t toooo bad.
Wordpress seems very very limited.
You must be logged in to reply to this topic.