This file contains hidden or 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
| .page-id-69 #header hgroup { | |
| display: none; | |
| } | |
| .page-id-69 #headerwrap { | |
| height: 0; | |
| } | |
| .page-id-69 #nav-bar { | |
| top: 0; | |
| bottom: auto; | |
| } |
This file contains hidden or 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
| <?php | |
| function gallery_shortcode_defaults( $out, $pairs, $atts ) { | |
| $out['link'] = 'none'; | |
| return $out; | |
| } | |
| add_filter( 'shortcode_atts_gallery', 'gallery_shortcode_defaults', 10, 3 ); |
This file contains hidden or 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 (min-width: 480px) and (max-width: 959px) { | |
| .col4-1 { | |
| width: 46.8%; | |
| } | |
| .col4-1:nth-child(2n+1) { | |
| margin-left: 0; | |
| } | |
| } |
This file contains hidden or 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
| <?php | |
| function custom_product_category_layout( $class ) { | |
| if( themify_is_function('is_product_category') ) { | |
| $class = 'sidebar1'; | |
| } | |
| return $class; | |
| } | |
| add_filter( 'themify_default_layout', 'custom_product_category_layout' ); |
This file contains hidden or 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
| <?php | |
| function highlight_current_post( $classes ) { | |
| global $post, $wp_query; | |
| if( $post->ID == $wp_query->post->ID ) { | |
| $classes[] = 'current-post'; | |
| } | |
| return $classes; |
This file contains hidden or 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
| .fixed-nav-bar + #skrollr-body hgroup { | |
| -webkit-transform: inherit !important; | |
| -moz-transform: inherit !important; | |
| } | |
| .fixed-nav-bar + #skrollr-body #site-logo { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| z-index: 9999; | |
| } |
This file contains hidden or 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
| .sidebar-none.list-post .section { | |
| background-position: center; | |
| background-repeat: no-repeat; | |
| -webkit-background-size: cover; | |
| -moz-background-size: cover; | |
| -o-background-size: cover; | |
| background-size: cover; | |
| } |
This file contains hidden or 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
| <?php | |
| function custom_product_default_bg_image() { | |
| $bg_image = themify_get( 'background_image' ); | |
| if( ! $bg_image ) { | |
| global $post; | |
| $thumb_url = wp_get_attachment_image_src( get_post_thumbnail_id(),'shop_single', true ); | |
| echo "<style> .post-{$post->ID} .product-bg { background-image: url('{$thumb_url[0]}'); } </style>"; | |
| } | |
| } |
This file contains hidden or 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
| #main-nav { | |
| width: 100%; | |
| } | |
| #main-nav > li { | |
| float: none; | |
| display: table-cell; | |
| width: 1%; | |
| } | |
| #main-nav:after, | |
| #main-nav:before { |
This file contains hidden or 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
| #gallery-controller .slider .slides { | |
| position: absolute; | |
| bottom: 100px; | |
| top: auto !important; | |
| left: 50% !important; | |
| overflow: hidden; | |
| width: 100px !important; | |
| margin-left: -50px !important; | |
| } | |
| #gallery-controller .caroufredsel_wrapper, |