Skip to content

Commit

Permalink
version 1.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
francgrasso committed Sep 8, 2020
1 parent a02a398 commit 1df99bd
Show file tree
Hide file tree
Showing 9 changed files with 47 additions and 6 deletions.
2 changes: 1 addition & 1 deletion header.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ class="site-header <?php echo esc_attr( get_theme_mod( 'yith_proteo_header_layou
);
?>
</nav><!-- #site-navigation -->
<div class="header-sidebar <?php echo get_theme_mod( 'yith_proteo_show_mobile_header_sidebar', 'yes' ) === 'no' ? 'hidden-xs' : ''; ?>">
<div class="header-sidebar <?php echo esc_attr( get_theme_mod( 'yith_proteo_show_mobile_header_sidebar', 'yes' ) === 'no' ? 'hidden-xs' : '' ); ?>">
<?php
the_widget(
'WP_Widget_Search',
Expand Down
3 changes: 3 additions & 0 deletions js/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
});
}
}
else {
$('body').addClass('static-header');
}


function initCheckbox() {
Expand Down
10 changes: 9 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: one-column, two-columns, left-sidebar, right-sidebar, wide-blocks, accessi
Requires at least: 4.9.6
Tested up to: WordPress 5.5
Requires PHP: 5.6
Stable tag: 1.3.3
Stable tag: 1.3.4
YITH Proteo WordPress Theme, Copyright 2020 YITH
YITH Proteo is distributed under the terms of the GNU GPL
License: GPLv2 or later
Expand All @@ -25,6 +25,14 @@ Proteo is a sleek, modern and "Gutenberg-friendly" e-commerce theme. Developed w
== Frequently Asked Questions ==

== Changelog ==
= 1.3.4 - September 08 2020 =
* New customizer options header and mobile layout
* Add support to display_header_text() WordPress template function
* New options to handle header sidebar and header icons on desktop and mobile
* Fix scrolling windows when mobile menu is opened
* Fix "alignwide blocks" image alignments to match new Gutenberg styles
* Fix the <p> tag font size to match customizer and gutenberg settings

= 1.3.3 - September 01 2020 =
* Fix typo in customizer inline style
* Fix typo in buttons.scss
Expand Down
1 change: 1 addition & 0 deletions sass/layout/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@
.header-sidebar {
white-space: nowrap;
text-align: right;
clear: both;
}

&.sticky {
Expand Down
16 changes: 16 additions & 0 deletions sass/navigation/_menus.scss
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,10 @@ header.sticky {
}
}

body.static-header .menu-toggle {
position: absolute;
}

.main-navigation.toggled {
.menu-toggle .icon-bar {
&:nth-child(2) {
Expand Down Expand Up @@ -331,6 +335,18 @@ header.sticky {
}
}

header.left_logo_navigation_below {
.menu-toggle {
top: 60px;
}
}

header.center_logo_navigation_below {
.menu-toggle {
top: 60px;
}
}

.comment-navigation,
.posts-navigation,
.post-navigation {
Expand Down
2 changes: 1 addition & 1 deletion sass/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Author: YITH
Author URI: https://yithemes.com
Description: Proteo is a sleek, modern and “Gutenberg-friendly” e-commerce theme. Developed with a beautiful UI and a minimal design, is perfect for each kind of shop. Easy to manage and to customize, Proteo is the best solution if you want a complete e-commerce template and start quickly to sell your products with WooCommerce without a technical knowledge. Use it also for corporate site or a blog: there are no limits about what you can do with a beautiful and usable theme like this! Main features: Colors and Typography customization (Google font support), Logo customization, 3 different Header layouts, Advanced customizer theme options, Sidebar Management, Sidebar Chooser on each page and product, Page title icons, Top Bar Management, Easy main color shade chooser, Buttons style management (gradient buttons support), Footer management with multiple sidebars, WooCommerce support, Shop Theme Options, Custom WooCommerce messages and animated WooCommerce alert notices, Two cart page layouts, Bootstrap grid system, CSS animations, Gutenberg support, Responsive, Fullscreen search, Multilevel menus, Support to all YITH plugins, SVG icons for HiDPI screens, Translation Ready. <a href="https://proteo.yithemes.com/about-proteo/" rel="nofollow" target="_blank">Discover more ></a> | <a href="https://proteo.yithemes.com/" rel="nofollow" target="_blank">Check our live demo ></a>
Version: 1.3.3.6
Version: 1.3.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yith-proteo
Expand Down
15 changes: 14 additions & 1 deletion style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion style.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion template-parts/topbar.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

?>
<div id="topbar" class="<?php echo get_theme_mod( 'yith_proteo_mobile_topbar_show', 'yes' ) === 'no' ? 'hidden-xs' : ''; ?>">
<div id="topbar" class="<?php echo esc_attr( get_theme_mod( 'yith_proteo_mobile_topbar_show', 'yes' ) === 'no' ? 'hidden-xs' : '' ); ?>">
<div class="container">
<?php dynamic_sidebar( 'topbar-sidebar' ); ?>
</div>
Expand Down

0 comments on commit 1df99bd

Please sign in to comment.