Skip to content

Instantly share code, notes, and snippets.

W5 Designs w5d

Block or report user

Report or block w5d

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ctaButtonEdit.css
#ctabutton {
background: #D4EA59;
color: black !important;
border-color: white;
/*Thank you @ShanetheBoland for the source with this one*/
w5d / hamburger.css
Last active Nov 6, 2015
Hamburger on desktop too
View hamburger.css
A mobile menu – or a hamburger menu as it is often called – does not only have to be used on mobile devices and small screens. You could use it for display on desktop and larger screens as well.
To do this in Divi you’ll have to insert a piece of custom CSS into your Child Theme or directly into your ePanel custom css field.
@media only screen and ( min-width:980px ) {
#top-menu-nav { display:none; }
#et_mobile_nav_menu { display:block; }
.mobile_menu_bar:before {
content: "\61";
font-size: 36px;
View Hide divi header.css
#main-header { display:none; }
#page-container { padding-top:0px !important }
w5d / style.css
Created Jun 13, 2015
Removing the Divi Header Bottom Border
View style.css
/*Remove bottom border under logo and nav*/
-webkit-box-shadow:none !important;
-moz-box-shadow:none !important;
box-shadow:none !important;
w5d / FeaturedImgPost.css
Created May 29, 2015
turn off featured img in post Divi
View FeaturedImgPost.css
/*Turn Off featured img in posts*/
.post-meta+img {
display: none !important;
w5d / copyright.php
Last active Aug 16, 2018
View copyright.php
w5d / wp.config.php
Created Mar 3, 2015
Remove Site and plugin editor from Wordpress dashboard
View wp.config.php
// add to wp-config.php
define( 'DISALLOW_FILE_EDIT', true );
w5d / call
Last active Nov 6, 2015
Blurb module to touch to call
View call
//Shortcode to make the blurb icon a call feature
w5d / header.php
Created Feb 23, 2015
Divi Header phone number "click to call"
View header.php
<!-- Replace this
<span id="et-info-phone"><?php echo esc_html( $et_phone_number ); ?></span>-->
<span id="et-info-phone">
<a href="tel:<?php echo esc_html( $et_phone_number ); ?>">
<?php echo esc_html( $et_phone_number ); ?>
w5d / childFunctionsCustomUrlProjects.php
Created Feb 20, 2015
Custom URL for Divi Projects
View childFunctionsCustomUrlProjects.php
//Code from Mayur @ elegant themes,
function override_parent() {
remove_shortcode( 'et_pb_fullwidth_portfolio', 'et_pb_fullwidth_portfolio' );
add_shortcode( 'et_pb_fullwidth_portfolio', 'et_pb_fullwidth_portfolio_custom' );
add_action( 'after_setup_theme', 'override_parent' );
function et_pb_fullwidth_portfolio_custom( $atts ) {
extract( shortcode_atts( array(
'title' => '',
You can’t perform that action at this time.