Skip to content

Instantly share code, notes, and snippets.

video::-internal-media-controls-download-button {
display:none;
}
video::-webkit-media-controls-enclosure {
overflow:hidden;
}
video::-webkit-media-controls-panel {
width: calc(100% + 30px); /* Adjust if necessary */
}
@robhob
robhob / grid-zoom.css
Last active January 9, 2018 11:27
Create a row with as many columns as you want, give each column the CSS Class name of my_col. Under the Advanced tab of the row go to the Custom CSS section and add border: 1px solid #eaeaea; to the main element of each columns custom CSS. Add the CSS of this gist to your custom CSS.
/* For when the mouse moves on to the image */
.brands img:hover {
-webkit-transform: scale(.65) translateY(-4px);
-ms-transform: scale(.65) translateY(-4px);
transition: all .4s ease-in-out;
transform: scale(1.2) translateY(-4px);
}
/* For when the mouse moves off the image */
.brands img {
.btn-inline .et_pb_button_module_wrapper {
display: inline-block;
margin: 0 5px;
}
.btn-inline {
text-align: center !important;
}
/* Breadcrumbs */
@media only screen and (max-width: 1400px) {
.breadcrumb {
display:none !important;
}
}
.breadcrumb a {
color: #ffffff;
}
UPDATE `wp_posts`
SET `comment_status` = 'closed'
WHERE `post_type` = 'attachment'
AND `comment_status` = 'open';
div.wh-widget-send-button-wrapper div.wh-widget-send-button-wrapper-list>a.wh-widget-button div.wh-widget-button-icon {
border-radius: 10% !important;
}
<form role="search" method="get" id="searchform" class="searchform" action="https://mydomainname.com/">
<div>
<label class="screen-reader-text" for="s">Search for:</label>
<input type="text" value="" name="s" id="s">
<input type="submit" id="searchsubmit" value="Search">
</div>
</form>
<form role="search" method="get" id="searchform" class="searchform" action="https://mydomainname.com/">
<div>
<input type="text" placeholder="Find the perfect book" value="" name="s" id="s">
<input type="submit" id="searchsubmit" value="Search">
</div>
</form>
input#searchsubmit {
color: #ffffff!important;
background: #29363e;
border-color: #29363e;
border-radius: 0px;
letter-spacing: 1px;
font-size: 14px;
font-family: 'Poppins',Helvetica,Arial,Lucida,sans-serif!important;
font-weight: 500!important;
text-transform: uppercase!important;
add_filter( 'caldera_forms_phone_js_options', function( $options){
//Use ISO_3166-1_alpha-2 formatted country code
$options[ 'initialCountry' ] = 'GB';
return $options;
});