Ticket #38404: 38404.3.patch
| File 38404.3.patch, 1.4 KB (added by , 9 years ago) |
|---|
-
src/wp-content/themes/twentyseventeen/inc/template-tags.php
149 149 get_template_part( 'template-parts/page/content', 'front-page-panels' ); 150 150 151 151 wp_reset_postdata(); 152 } else {152 } elseif ( is_customize_preview() ) { 153 153 // The output placeholder anchor. 154 154 echo '<article class="panel-placeholder panel twentyseventeen-panel twentyseventeen-panel' . $id . '" id="panel' . $id . '"><span class="twentyseventeen-panel-title">' . sprintf( __( 'Panel %1$s Placeholder', 'twentyseventeen' ), $id ) . '</span></article>'; 155 155 } -
src/wp-content/themes/twentyseventeen/style.css
2950 2950 # Customizer 2951 2951 --------------------------------------------------------------*/ 2952 2952 2953 /* Hide placeholders until we're in the front page sections section */2954 .panel-placeholder {2955 display: none;2956 }2957 2958 2953 .highlight-front-sections.twentyseventeen-customizer.twentyseventeen-front-page .twentyseventeen-panel:after { 2959 2954 border: 2px dashed #0085ba; /* Matches visible edit shortcuts. */ 2960 2955 bottom: 1em;