How to add smart quotation marks around text
-
I just started using this plugin and it’s great (thanks!). I needed to wrap the pull quote with curly quotation marks, and I was able to do it with CSS without modifying the theme source code. I wanted to share in case anybody else wanted to do something similar. Of course, you’ll need to make a few tweaks for your code.
body blockquote.pullquote > p::before { display: inline-block; position:relative; top:0.3em; left:-0.1em; content: "“"; color: #939598; font-size:2.2em; } body blockquote.pullquote > p::after { display: inline-block; position:relative; top:0.3em; left:-0.1em; content: "”"; color: #939598; font-size:2.2em; }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to add smart quotation marks around text’ is closed to new replies.