Recently we had to add a expand collapse icons for the navigation menu on mobile devices in our WordPress theme. We can not use pseudo-classes :after and :before as they are not part of the dom and any events registered on them won’t work. So for our mobile menus, we added a <span> tag like
jQuery/Javascript click event not working on and elements in iOS Safari webkitOpen Chrome Without Address bar in Incognito Mode from Terminal
I often have to take screenshots of my WordPress themes and other products, and the look better when they have a browser frame around it. For this I open chrome without address bar and use the Mac OSX shortcuts CMD+Shit+4 + Spacebar to take the window screenshot with nice shadow. Here are the commands to
Open Chrome Without Address bar in Incognito Mode from Terminal
I often have to take screenshots of my WordPress themes and other products, and the look better when they have a browser frame around it. For this I open chrome without address bar and use the Mac OSX shortcuts CMD+Shit+4 + Spacebar to take the window screenshot with nice shadow. Here are the commands to