Twenty Seventeen: Hidden article tags on home page fix

This prevents the issue of hidden article tags on home page.

Props ElectricFeet, iv.dimova. morettigeorgiev, davidakennedy
Fixes #38404

M    twentyseventeen/inc/template-tags.php
M    twentyseventeen/style.css


git-svn-id: https://develop.svn.wordpress.org/trunk@38998 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Tammie Lister 2016-10-28 21:00:14 +00:00
parent c4145b769e
commit ae72d78fb6
2 changed files with 1 additions and 6 deletions

View File

@ -149,7 +149,7 @@ function twentyseventeen_front_page_section( $partial = null, $id = 0 ) {
get_template_part( 'template-parts/page/content', 'front-page-panels' );
wp_reset_postdata();
} else {
} elseif ( is_customize_preview() ) {
// The output placeholder anchor.
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>';
}

View File

@ -2950,11 +2950,6 @@ object {
# Customizer
--------------------------------------------------------------*/
/* Hide placeholders until we're in the front page sections section */
.panel-placeholder {
display: none;
}
.highlight-front-sections.twentyseventeen-customizer.twentyseventeen-front-page .twentyseventeen-panel:after {
border: 2px dashed #0085ba; /* Matches visible edit shortcuts. */
bottom: 1em;