This commit is contained in:
Alexander Agnarson 2019-02-06 11:06:27 +01:00
parent 335d9c9029
commit b5145d4cfa
5 changed files with 30 additions and 9 deletions

View file

@ -520,6 +520,7 @@ if ( ! function_exists( 'boxstyle_body_class' ) ) {
if ( has_nav_menu( 'topbar' ) ) { $classes[] = 'topbar-enabled'; }
if ( has_nav_menu( 'mobile' ) ) { $classes[] = 'mobile-menu'; }
if ( get_theme_mod( 'mobile-sidebar-hide','on' ) != 'on' ) { $classes[] = 'mobile-sidebar-hide'; }
if ( get_theme_mod( 'wave-style','on' ) != 'on' ) { $classes[] = 'wave-hide'; }
if (! ( is_user_logged_in() ) ) { $classes[] = 'logged-out'; }
return $classes;
}

View file

@ -720,3 +720,11 @@ Kirki::add_field( 'boxstyle_theme', array(
'step' => '1',
),
) );
// Styling: Wave
Kirki::add_field( 'boxstyle_theme', array(
'type' => 'switch',
'settings' => 'wave-style',
'label' => esc_html__( 'Wave Style', 'boxstyle' ),
'section' => 'styling',
'default' => 'on',
) );

View file

@ -2,7 +2,7 @@
msgid ""
msgstr ""
"Project-Id-Version: Boxstyle\n"
"POT-Creation-Date: 2019-02-04 21:35+0100\n"
"POT-Creation-Date: 2019-02-06 11:05+0100\n"
"PO-Revision-Date: 2018-09-21 21:27+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
@ -133,23 +133,23 @@ msgstr ""
msgid "Footer 4"
msgstr ""
#: functions.php:677
#: functions.php:678
msgid "Alx Extensions"
msgstr ""
#: functions.php:681
#: functions.php:682
msgid "Meta Box"
msgstr ""
#: functions.php:685
#: functions.php:686
msgid "Regenerate Thumbnails"
msgstr ""
#: functions.php:689
#: functions.php:690
msgid "WP-PageNavi"
msgstr ""
#: functions.php:693
#: functions.php:694
msgid "Responsive Lightbox"
msgstr ""
@ -762,6 +762,10 @@ msgstr ""
msgid "Give your thumbnails and layout images rounded corners"
msgstr ""
#: functions/theme-options.php:727
msgid "Wave Style"
msgstr ""
#: inc/page-title.php:24
msgid "Search result"
msgstr ""

View file

@ -2,7 +2,7 @@
Contributors: alxmedia
Requires at least: 5.0
Tested up to: 5.0
Version: 1.1.0
Version: 1.1.1
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0
Tags: blog, one-column, two-columns, right-sidebar, left-sidebar, custom-colors, custom-menu, featured-images, flexible-header, full-width-template, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, custom-logo, custom-header, custom-background
@ -81,6 +81,9 @@ Sidebar images
== Changelog ==
= 1.1.1 - 2019-02-06 =
* Add a styling option to disable the wave layout style
= 1.1.0 - 2019-02-05 =
* Fix missing dark theme elements

View file

@ -1,7 +1,7 @@
/*
Theme Name: Boxstyle
Theme URI: http://alxmedia.se/themes/boxstyle/
Version: 1.1.0
Version: 1.1.1
Description: <a href="http://alxmedia.se/themes/boxstyle/">Boxstyle</a> is a responsive 100% high resolution theme for personal blogs. The feature list is long: Unlimited accent colors, unlimited widget areas, 0-1 sidebars to the left or right that can be uniquely specified for each page or post, 220px fixed width sidebar, 0-4 footer widget columns, almost zero layout images, related posts and post nav, 5 post formats, good SEO, 2 flexible custom widgets, localisation support, social links, logo upload and many more useful admin panel features.
Author: Alexander Agnarson
Author URI: http://alxmedia.se
@ -352,7 +352,7 @@ box-shadow: 6px 0 0 rgba(0,0,0,0.04), -6px 0 0 rgba(0,0,0,0.04); }
/* base : sidebar
/* ------------------------------------ */
.sidebar { padding-bottom: 20px; position: relative; z-index: 2; }
.sidebar { position: relative; z-index: 2; }
.sidebar .pad { padding-left: 20px; padding-right: 20px; }
/* sidebar primary */
@ -675,6 +675,11 @@ box-shadow: 0 0 2px rgba(255,255,255,0.4);
#page { padding: 0 20px; }
#page > .container-inner { border-radius: 10px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.2), 0 1px 2px rgba(0,0,0,0.2); }
.wave-hide #profile { padding-bottom: 30px; }
.wave-hide #profile-curve { display: none; }
.wave-hide #footer { padding-top: 0; }
.wave-hide #footer:before { display: none; }
/* ------------------------------------------------------------------------- *
* Section: Footer