Blog
Today I ran across a strange situation where the dev tools for Chrome and Firefox were reporting different background color values for the same button. They were both reporting that the relevant CSS was in the same location, so it wasn’t a matter of a difference in cascade/priority. I changed the color value in the […]
Read MoreCSS hover states are pretty obviously targeted at mouse inputs, but are applied in strange ways to touch inputs as well. Thankfully, all modern browsers now support input-based media queries. This allows us to apply our hover states only to devices that truly support hover states. Here is the code that makes it work: @media(hover: […]
Read MoreBy default, WordPress blocks SVG uploads. Beaver Builder also blocks SVG uploads withing the builder, but strangely it uses it’s own block list which it only applies to uploads. This means that you can enable SVG uploads within WordPress, upload an SVG file to the media library, and then make use of the file in […]
Read MoreHow did I not know this already? ctrl+shift+v This keyboard shortcut pastes whatever text is in the clipboard, but removes the formatting.
Read MoreWhen creating a dropdown menu in WordPress, often the parent menu item is used simply as a hover point to access the submenu, not as an actual link. When this is the case, we can use the following steps to indicate to the user that these menu items are not to be clicked. 1. Set […]
Read MoreSometimes we need to make an entire column clickable, instead of just the link (or links) within the column. This is a common issue when using a card style design. For example, in the image above, we might want each of the three sections themselves to be clickable, instead of just the text and image. […]
Read MoreTables are notoriously difficult to handle responsively. If there is a significant difference between the number of rows and the number of columns, the ideal layout for large screen sizes uses more columns then rows, but the ideal layout for small screens uses more rows than columns. However, there is no simple way to handle […]
Read MoreFor some reason, FacetWP doesn’t support infinite scroll when paired with the Posts module in Beaver Builder. However, working with some code from GitHub, I was able to modify it to work with Beaver Builder. Here is the code: (function( $ ) { ‘use-strict’; var throttleTimer = null; var throttleDelay = 100; $(function() { var […]
Read More