For something seemingly so simple, it’s amazingly hard to find a good solution that redirects all files with a given extension on your site to another. I spent a long time Googling and testing and still kept running into issues. But my wasted time is your gain! Because I’ve figured it out. As it turns out, there is more way … Read More
HTML - Category Archive
How to Add Superscript®, Subscript©, and More™ to WordPress Titles
If you’re here, you’ve like wanted to add the registered symbol (®) or trademark symbol (™) to the title of your WordPress post, page, or product, only to find that it won’t display as a superscript like you want! Or perhaps you’ve been wanting to add some other symbol, text, or number as superscript or subscript to your WordPress title … Read More
Redirection Plugin Not Working for HTML Pages
Today I want to focus on a very simple problem that’s pretty easy to solve. This problem occurs when using the Redirection plugin for WordPress and attempting to redirect .html or .htm pages and having it not work. This could also apply to any instance of a static page ending in .php, .txt, .zip, or whatever else you might have. … Read More
Maintain Aspect Ratio for HTML Element Using Only CSS in a Responsive Design
There is an easy way to make a div or other element square or any other shape while still being responsive, using ONLY CSS. I actually stumbled upon this solution myself, and then saw a formal write-up of it by @marcolago here. The solution is actually extremely simple, and you will kick yourself for not figuring it out. This little … Read More
How to Make Larger-Than-Window Element Visible But Not Scrollable
In this tutorial, I will show you how to make an element that is too big for some screens visible when it does fit, but not trigger scrolling when it doesn’t. I’ll also show you how to center it. Essentially, we can make an element in a website behave just like the background of the <body> element. It took me … Read More