Skip to content

Commit

Permalink
Minor updates and fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
zohaib87 committed May 13, 2021
1 parent 68ff372 commit 5d2a893
Show file tree
Hide file tree
Showing 13 changed files with 48 additions and 33 deletions.
2 changes: 1 addition & 1 deletion 404.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<section class="error-404 not-found">

<header class="page-header">
<header class="page-header mb-2">
<h1 class="page-title"><?php esc_html_e( 'Oops! That page can&rsquo;t be found.', '_xe' ); ?></h1>
</header><!-- .page-header -->

Expand Down
15 changes: 10 additions & 5 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -536,10 +536,14 @@ embed, iframe, object {
--------------------------------------------------------------*/
.error404 .page-header .page-title {
color: #404040;
margin-left: -2px;
}
.error404 .site-main {
.error404 .site-main{
margin: 0;
}
.error404 .page-content p {
margin: 0 0 15px 2px;
}
/*--------------------------------------------------------------
# Search
--------------------------------------------------------------*/
Expand Down Expand Up @@ -1556,12 +1560,10 @@ li.woocommerce-MyAccount-navigation-link--customer-logout:before {
background-color: var(--primary-dark);
}
span.wpcf7-not-valid-tip {
color: white;
background: darkred;
padding: 5px 10px;
color: #dc3545;
padding-left: 2px;
font-size: 12px;
font-weight: normal;
font-style: italic;
display: block;
}
div.wpcf7-validation-errors {
Expand All @@ -1572,6 +1574,9 @@ div.wpcf7-response-output {
margin: 0 0 30px;
padding: 5px 10px;
}
.wpcf7 form .wpcf7-response-output {
margin: 0;
}
/*--------------------------------------------------------------
# Post Password Protected Form
--------------------------------------------------------------*/
Expand Down
2 changes: 1 addition & 1 deletion assets/css/main.min.css

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions assets_dev/css/forms.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,10 @@
background-color: var(--primary-dark);
}
span.wpcf7-not-valid-tip {
color: white;
background: darkred;
padding: 5px 10px;
color: #dc3545;
padding-left: 2px;
font-size: 12px;
font-weight: normal;
font-style: italic;
display: block;
}
div.wpcf7-validation-errors {
Expand All @@ -53,6 +51,9 @@ div.wpcf7-response-output {
margin: 0 0 30px;
padding: 5px 10px;
}
.wpcf7 form .wpcf7-response-output {
margin: 0;
}
/*--------------------------------------------------------------
# Post Password Protected Form
--------------------------------------------------------------*/
Expand Down
6 changes: 5 additions & 1 deletion assets_dev/css/pages.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@
--------------------------------------------------------------*/
.error404 .page-header .page-title {
color: #404040;
margin-left: -2px;
}
.error404 .site-main {
.error404 .site-main{
margin: 0;
}
.error404 .page-content p {
margin: 0 0 15px 2px;
}
/*--------------------------------------------------------------
# Search
--------------------------------------------------------------*/
Expand Down
4 changes: 2 additions & 2 deletions controllers/elementor/call-to-action.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ protected function register_controls() {
'label' => esc_html__( 'Text Color', '_xe' ),
'type' => \Elementor\Controls_Manager::COLOR,
'scheme' => [
'type' => \Elementor\Scheme_Color::get_type(),
'value' => \Elementor\Scheme_Color::COLOR_1,
'type' => \Elementor\Core\Schemes\Color::get_type(),
'value' => \Elementor\Core\Schemes\Color::COLOR_1,
],
'default' => '#000',
]
Expand Down
4 changes: 2 additions & 2 deletions controllers/elementor/counter.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ protected function register_controls() {
'label' => esc_html__( 'Color', '_xe' ),
'type' => \Elementor\Controls_Manager::COLOR,
'scheme' => [
'type' => \Elementor\Scheme_Color::get_type(),
'value' => \Elementor\Scheme_Color::COLOR_1,
'type' => \Elementor\Core\Schemes\Color::get_type(),
'value' => \Elementor\Core\Schemes\Color::COLOR_1,
],
'default' => '#000',
]
Expand Down
8 changes: 4 additions & 4 deletions controllers/elementor/heading.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ protected function register_controls() {
'label' => esc_html__( 'Heading Color', '_xe' ),
'type' => \Elementor\Controls_Manager::COLOR,
'scheme' => [
'type' => \Elementor\Scheme_Color::get_type(),
'value' => \Elementor\Scheme_Color::COLOR_1,
'type' => \Elementor\Core\Schemes\Color::get_type(),
'value' => \Elementor\Core\Schemes\Color::COLOR_1,
],
'default' => '#000',
]
Expand All @@ -81,8 +81,8 @@ protected function register_controls() {
'label' => esc_html__( 'Sub Heading Color', '_xe' ),
'type' => \Elementor\Controls_Manager::COLOR,
'scheme' => [
'type' => \Elementor\Scheme_Color::get_type(),
'value' => \Elementor\Scheme_Color::COLOR_1,
'type' => \Elementor\Core\Schemes\Color::get_type(),
'value' => \Elementor\Core\Schemes\Color::COLOR_1,
],
'default' => '#000',
]
Expand Down
2 changes: 1 addition & 1 deletion helpers/class-defaults.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ function __construct() {
// Subtitles
Self::$blog_subtitle = esc_html__( 'Welcome to amazing blog!', '_xe' );
Self::$search_subtitle = esc_html__( 'Not what you looking for? Maybe try again...', '_xe' );
Self::$error_subtitle = esc_html__( 'Error 404! Page Not Found.', '_xe' );
Self::$error_subtitle = esc_html__( 'Page Not Found.', '_xe' );
Self::$shop_subtitle = esc_html__( 'Checkout Our Amazing Products!', '_xe' );

// Sidebars
Expand Down
22 changes: 11 additions & 11 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "xe",
"version": "2.3.8",
"version": "2.3.12",
"description": "This is Just another WordPress framework. It is built for developers to create awesome and highly customizable themes for clients or sell it on any marketplace.",
"main": "build.js",
"scripts": {
Expand Down
4 changes: 4 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ License URI: http://www.gnu.org/licenses/gpl-2.0.html
This is just another WordPress framework + build process. It is built for developers to create awesome and highly customizable themes for clients or sell it on marketplace.

== Changelog ==
----- v2.3.12 ------------
Updated: Elementor deprecated functions.
Fixed: Minor bugs.

----- v2.3.11 ------------
New Added: Gulp commands combined to run in series.
Fixed: Gulp commands shortened.
Expand Down
1 change: 1 addition & 0 deletions views/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@

global $xe_opt;

$mega_menu = (function_exists('max_mega_menu_is_enabled') && max_mega_menu_is_enabled($xe_opt->header['menu']));
$header_classes = Helper::classes( array('site-header', 'bg-primary') );
$nav_classes = Helper::classes( array('navbar', 'navbar-expand-lg', 'navbar-dark') );

Expand Down

0 comments on commit 5d2a893

Please sign in to comment.