Skip to content

Instantly share code, notes, and snippets.

View jerrickhakim's full-sized avatar

Jerrick Hakim jerrickhakim

View GitHub Profile
@jerrickhakim
jerrickhakim / CSS
Last active March 17, 2020 13:03
Flatsome Fancy Icon Nav
/* SIDE NAV CSS DESKTOP */
.mfp-content {
width: 30% !important;
/* OPTION TO MAKE NAV TRANSPARENT */
/* DELETE OR TURN TO 1 IF YOU DONT WANT THE MENU TO BE TRANSPARENT */
opacity: 0.95 !important;
}
li.html.custom.html_nav_position_text {
padding: 0px;
}
@MikeNGarrett
MikeNGarrett / wp-config.php
Last active July 17, 2024 18:02
All those damned wp-config constants you can never remember.
<?php
// PHP memory limit for this site
define( 'WP_MEMORY_LIMIT', '128M' );
define( 'WP_MAX_MEMORY_LIMIT', '256M' ); // Increase admin-side memory limit.
// Database
define( 'WP_ALLOW_REPAIR', true ); // Allow WordPress to automatically repair your database.
define( 'DO_NOT_UPGRADE_GLOBAL_TABLES', true ); // Don't make database upgrades on global tables (like users)
// Explicitely setting url