Pārlūkot izejas kodu

Add the title and tagline message

Ben Dwyer 4 gadi atpakaļ
vecāks
revīzija
74e6d469a9

+ 1 - 0
blank-canvas/assets/customizer.css

@@ -4,6 +4,7 @@
  * Adjusts the theme's message about the site branding display to appear like a notice.
  */
 
+ #sub-accordion-section-title_tagline .customize-section-description,
 #sub-accordion-section-menu_locations .customize-section-description {
 	background: #FFF;
 	border: 1px solid #ccd0d4;

+ 1 - 0
blank-canvas/functions.php

@@ -112,6 +112,7 @@ add_action( 'customize_register', 'blank_canvas_remove_customizer_settings', 11
 function blank_canvas_add_customizer_settings( $wp_customize ) {
 
 	// Add a Customizer message about the site title & tagline options.
+	$wp_customize->get_section( 'title_tagline' )->description  = __( 'This theme will not show the site logo, site title, and tagline on all single posts and pages unless the site header is enabled in the the Content Options section.', 'blank-canvas' );
 	$wp_customize->get_section( 'menu_locations' )->description = __( 'Menus will only be displayed on this theme if the header or footer is enabled. This can be done in the Content Options section.', 'blank-canvas' );
 	$wp_customize->get_panel( 'nav_menus' )->description        = __( 'Menus will only be displayed on this theme if the header or footer is enabled. This can be done in the Content Options section.', 'blank-canvas' );
 	$wp_customize->get_panel( 'widgets' )->description          = __( 'Widgets will only be displayed on this theme if the footer is enabled. This can be done in the Content Options section.', 'blank-canvas' );

+ 0 - 19
blank-canvas/style.css

@@ -69,25 +69,6 @@ Used as block pattern image.
 	margin-top: calc(-1 * var(--global--spacing-vertical));
 }
 
-/* Add some top padding */
-
-body .site-content {
-	padding-top: var(--global--spacing-vertical);
-}
-
-@media screen and (min-width: 580px) {
-
-	body .site-content {
-		padding-top: calc(3 * var(--global--spacing-vertical));
-	}
-}
-
-/* Remove the top border from the entry-footer. */
-
-.site-main > article > .entry-footer {
-	border-top-width: 0
-}
-
 /* Center-align headers and footers. */
 
 .entry-header,