updated theme `GeneratePress` version 3.0.4

This commit is contained in:
KawaiiPunk 2021-07-25 23:25:29 +00:00 committed by Gitium
parent 0a73b21fab
commit 34065e1b59
56 changed files with 20547 additions and 20534 deletions

View File

@ -1964,8 +1964,7 @@ ol.comment-list {
margin-bottom: 20px;
}
.inside-page-header,
.wp-block-group__inner-container {
.inside-page-header {
padding: 40px;
}

File diff suppressed because one or more lines are too long

View File

@ -1254,8 +1254,7 @@ object {
margin-bottom: 20px;
}
.inside-page-header,
.wp-block-group__inner-container {
.inside-page-header {
padding: 40px;
}

File diff suppressed because one or more lines are too long

View File

@ -1510,8 +1510,7 @@ ol.comment-list {
margin-bottom: 20px;
}
.inside-page-header,
.wp-block-group__inner-container {
.inside-page-header {
padding: 40px;
}

File diff suppressed because one or more lines are too long

View File

@ -12,7 +12,7 @@ if ( ! defined( 'ABSPATH' ) ) {
}
// Set our theme version.
define( 'GENERATE_VERSION', '3.0.3' );
define( 'GENERATE_VERSION', '3.0.4' );
if ( ! function_exists( 'generate_setup' ) ) {
add_action( 'after_setup_theme', 'generate_setup' );

View File

@ -727,9 +727,14 @@ if ( ! function_exists( 'generate_spacing_css' ) ) {
}
}
$css->set_selector( '.separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .separate-containers .paging-navigation, .one-container .site-content, .inside-page-header, .wp-block-group__inner-container' );
$css->set_selector( '.separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .separate-containers .paging-navigation, .one-container .site-content, .inside-page-header' );
$css->add_property( 'padding', generate_padding_css( $settings['content_top'], $settings['content_right'], $settings['content_bottom'], $settings['content_left'] ), generate_padding_css( $defaults['content_top'], $defaults['content_right'], $defaults['content_bottom'], $defaults['content_left'] ) );
if ( apply_filters( 'generate_do_group_inner_container_style', true ) ) {
$css->set_selector( '.site-main .wp-block-group__inner-container' );
$css->add_property( 'padding', generate_padding_css( $settings['content_top'], $settings['content_right'], $settings['content_bottom'], $settings['content_left'] ) );
}
if ( generate_is_using_flexbox() ) {
$css->set_selector( '.separate-containers .paging-navigation' );
$css->add_property( 'padding-top', '20px' );
@ -875,9 +880,14 @@ if ( ! function_exists( 'generate_spacing_css' ) ) {
}
$css->start_media_query( generate_get_media_query( 'mobile' ) );
$css->set_selector( '.separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .separate-containers .paging-navigation, .one-container .site-content, .inside-page-header, .wp-block-group__inner-container' );
$css->set_selector( '.separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .separate-containers .paging-navigation, .one-container .site-content, .inside-page-header' );
$css->add_property( 'padding', generate_padding_css( $settings['mobile_content_top'], $settings['mobile_content_right'], $settings['mobile_content_bottom'], $settings['mobile_content_left'] ) );
if ( apply_filters( 'generate_do_group_inner_container_style', true ) ) {
$css->set_selector( '.site-main .wp-block-group__inner-container' );
$css->add_property( 'padding', generate_padding_css( $settings['mobile_content_top'], $settings['mobile_content_right'], $settings['mobile_content_bottom'], $settings['mobile_content_left'] ) );
}
$css->set_selector( '.inside-top-bar' );
if ( '' !== $settings['mobile_top_bar_top'] ) {

View File

@ -5,8 +5,8 @@ License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: two-columns, three-columns, one-column, right-sidebar, left-sidebar, footer-widgets, blog, e-commerce, flexible-header, full-width-template, buddypress, custom-header, custom-background, custom-menu, custom-colors, sticky-post, threaded-comments, translation-ready, rtl-language-support, featured-images, theme-options
Requires at least: 4.5
Tested up to: 5.7
Stable tag: 3.0.3
Tested up to: 5.8
Stable tag: 3.0.4
GeneratePress is a lightweight WordPress theme built with a focus on speed and usability.
@ -95,6 +95,12 @@ MIT License: https://github.com/bgrins/TinyColor/blob/master/LICENSE
== Changelog ==
= 3.0.4 =
Release date: July 12, 2021
* Tweak: Apply default Group block padding to blocks in the content area only.
= 3.0.3 =
Release date: March 2, 2021

View File

@ -4,9 +4,9 @@ Theme URI: https://generatepress.com
Author: Tom Usborne
Author URI: https://tomusborne.com
Description: GeneratePress is a lightweight WordPress theme built with a focus on speed and usability. Performance is important to us, which is why a fresh GeneratePress install adds less than 10kb (gzipped) to your page size. We take full advantage of the new block editor (Gutenberg), which gives you more control over creating your content. If you use page builders, GeneratePress is the right theme for you. It is completely compatible with all major page builders, including Beaver Builder and Elementor. Thanks to our emphasis on WordPress coding standards, we can boast full compatibility with all well-coded plugins, including WooCommerce. GeneratePress is fully responsive, uses valid HTML/CSS and is translated into over 25 languages by our amazing community of users. A few of our many features include microdata integration, 9 widget areas, 5 navigation locations, 5 sidebar layouts, dropdown menus (click or hover) and navigation color presets. Learn more and check out our powerful premium version at https://generatepress.com
Version: 3.0.3
Version: 3.0.4
Requires at least: 4.5.0
Tested up to: 5.7
Tested up to: 5.8
Requires PHP: 5.4.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html