This commit is contained in:
Alexander Agnarson 2020-08-19 11:26:19 +02:00
parent 7e1410dc96
commit 8b05e0bdb5
3 changed files with 8 additions and 5 deletions

View file

@ -95,10 +95,10 @@ if ( ! function_exists( 'typecore_dynamic_css' ) ) {
// container width
if ( get_theme_mod('container-width','1460') != '1460' ) {
if ( get_theme_mod( 'boxed' ) ) {
$styles .= '.boxed #wrapper, .container-inner { max-width: '.esc_attr( get_theme_mod('container-width') ).'px; }'."\n";
$styles .= '.boxed #wrapper, .container-inner, #header .nav-menu:not(.mobile) { max-width: '.esc_attr( get_theme_mod('container-width') ).'px; }'."\n";
}
else {
$styles .= '.container-inner { max-width: '.esc_attr( get_theme_mod('container-width') ).'px; }'."\n";
$styles .= '.container-inner, #header .nav-menu:not(.mobile) { max-width: '.esc_attr( get_theme_mod('container-width') ).'px; }'."\n";
}
}
// sidebar padding

View file

@ -2,7 +2,7 @@
Contributors: alxmedia
Requires at least: 5.0
Tested up to: 5.5
Version: 1.2.7
Version: 1.2.8
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Tags: blog, one-column, two-columns, three-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
@ -90,6 +90,9 @@ Right sidebar images
== Changelog ==
= 1.2.8 - 2020-08-19 =
* Fixed max-width styling option
= 1.2.7 - 2020-08-18 =
* Improved a11y
* Added new menu

View file

@ -1,7 +1,7 @@
/*
Theme Name: Typecore
Theme URI: http://alx.media/themes/typecore/
Version: 1.2.7
Version: 1.2.8
Requires at least: 5.0
Requires PHP: 5.6
Tested up to: 5.5
@ -71,7 +71,7 @@ table { border-collapse: collapse; border-spacing: 0; }
body { background: #fff; font-size: 16px; line-height: 1.5em; color: #555; font-weight: 300; }
::selection { background: #e64338; color: #fff; }
::-moz-selection { background: #e64338; color: #fff; }
a { color: #e64338; text-decoration: none; outline: 0; }
a { color: #e64338; text-decoration: none; }
a:hover { color: #444; }
img { max-width: 100%; height: auto; }
a,