This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.dvk-social-sharing { | |
line-height: 32px; | |
} | |
.dvk-social-sharing > a{ | |
margin-left:12px; | |
display: inline-block; | |
text-decoration: none; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function acf_pricing_table() { | |
ob_start(); | |
?> | |
<?php if( have_rows('pricing_table') ): ?> | |
<div class="pricing-table-container"> | |
<?php while( have_rows('pricing_table') ): the_row(); | |
$price = get_sub_field('price'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.acf-pricing-table { | |
display: inline-block; | |
background: #fff; | |
padding: 30px; | |
text-align: center; | |
margin: 7px; border: 1px solid #000; | |
} | |
.acf-pricing-table-price-desc { | |
font-weight: 900; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function disable_gutenberg_per_id( $classic ) { | |
global $post; | |
if ( 123 == $post->ID ) | |
return false; | |
return $classic; | |
} | |
add_filter( 'gutenberg_can_edit_post_type', 'disable_gutenberg_per_id' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* make sure there is no color in the image */ | |
.section-portfolio-masonry .type-post .featured-image img { | |
-webkit-filter: grayscale(100%); | |
filter: grayscale(100%); | |
} | |
.section-portfolio-masonry .type-post .featured-image img:hover { | |
-webkit-filter: grayscale(0%); | |
filter: grayscale(0%); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Remove unwanted notices in the admin area | |
add_action('admin_head', 'remove_admin_warning'); | |
function remove_admin_warning() { | |
echo '<style> | |
.theme-editor-php #message {display:none;} | |
</style>'; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media ( prefers-color-scheme: dark) { | |
body, .site-header { | |
background: #172020; | |
} | |
body, .genesis-nav-menu a, h1, h2, h3, h4, h5, h6, .entry-title a { | |
color: #fff; | |
} | |
.entry-content a, a:focus, a:hover { | |
color: #bbc; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- wp:generateblocks/container {"uniqueId":"13077246","paddingTop":"5","paddingRight":"1","paddingBottom":"5","paddingLeft":"1","paddingUnit":"em","paddingTopMobile":"4","paddingBottomMobile":"4","align":"full","isDynamic":true} --> | |
<!-- wp:generateblocks/grid {"uniqueId":"4712b8b7","columns":2,"isDynamic":true} --> | |
<!-- wp:generateblocks/container {"uniqueId":"9bbeb918","isGrid":true,"gridId":"4712b8b7","width":60,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true} --> | |
<!-- wp:generateblocks/headline {"uniqueId":"0f6cb998","paddingUnit":"em"} --> | |
<h2 class="gb-headline gb-headline-0f6cb998 gb-headline-text">My name is Jane Doe. I'm a photographer currently working at Saatchi shooting awesome pictures. </h2> | |
<!-- /wp:generateblocks/headline --> | |
<!-- wp:paragraph --> | |
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris pellentesque, nibh at efficitur scelerisque, lorem velit posuere mi, vel sagittis libero massa id magna. Morbi dictum, est vitae.</p |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blockquote.twitter-tweet { | |
font-size: 12px; | |
font-weight: normal; | |
font-style:normal; | |
line-height: 16px; | |
border-color: #ced6dc; | |
border-radius: 10px; | |
border-style: solid; | |
border-width: 1px; | |
box-shadow: none; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.portfolio .gb-block-post-grid-image { | |
margin-bottom:0!important | |
} | |
.portfolio .gb-block-post-grid-image { | |
margin-bottom:0!important | |
} | |
.portfolio .featuredpost .hentry { | |
padding: 0; |
OlderNewer