Recently I have been experiencing an issue with Preview Changes not working in WordPress on a Nginx VPS over at DigitalOcean. I use a few common config files from nginx-common-config. Before, the configuration did not fix the problem, but after it did. Thanks to the /VVV guys for a configuration that solved the problem.
To fix you can just clone down nginx-common-config and include the nginx.wp.conf file.
I recently had to find out how to do this while working on a site a couple weeks ago and thought I’d share. So, what we’re making is this.
From the above HTML you can see we first create three layers:
- a background (black solid background with rounded corners)
- a stroke (a white circle)
- another inner-circle with a number in it (black circle inside of the white one
There are essentially three layers here. The background is an obvious one. The stroke is a white background <div> that is made into a circle with border-radius and some padding. This allows us to fit the inner circle (also a <div> made into a circle) into the previous white circle which creates the illusion of a stroke with some padding. So, black square, white circle (with padding), black circle.
You can fiddle with this.
I recently started using a great theme in my Atom Editor called Pencil Light. I loved it so much I took my beloved Wilson theme and re-themed it to be Pencil Light for WordPress.
I can’t wait to get it through theme review and get it on the WordPress Theme repo. I hope Anders Noren doesn’t mind.