GeneratePress
Move WooCommerce product variation label and dropdown to different lines
https://generatepress.com/forums/topic/move-woocommerce-product-variation-label-and-drop-down-to-different-lines/
Large logo before scroll on mobile
This code does the following on mobile devices when using mobile header: sets logo to be larger than the container before scroll adds text after logo after scroll resets width of ‘a’ element to fix Safari bug This technique was implemented on mutthutt.ca
Inline post navigation
ICON TYPE: SVG Icon type: Font
Navigation Buttons
Add navigation buttons in GeneratePress
iPhone Notch
Use these code snippets to add iPhone X notch support to GeneratePress.
Change Customizer Responsive Device Sizes
GeneratePress Vanilla WordPress
DISALLOW_FILE_EDIT
Once in a while, GeneratePress Hooks will throw this error when trying to execute PHP in an element: This is usually caused by iThemes Security disallowing the file editor. Disable the setting here:Security > Settings > WordPress Tweaks > File Editor
Change image sizes using filter
In a typical GeneratePress setup, the image sizes are set in the customizer and apply to all “post” type posts. Using conditional logic, this filter sets the image sizes for other areas of the site, such as custom post type archives, taxonomies, etc.