Skip to content

Commit

Permalink
Fixed minor bugs in layout
Browse files Browse the repository at this point in the history
  • Loading branch information
zohaib87 committed Apr 13, 2021
1 parent 8cd0a05 commit 1587f0a
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion 404.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

get_header(); ?>

<div id="content" class="site-content <?php echo esc_attr($xe_opt->container); ?> padding-top-bottom">
<div id="content" class="site-content <?php echo esc_attr($xe_opt->container); ?> padding-top-bottom clearfix">

<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
Expand Down
2 changes: 1 addition & 1 deletion 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.7",
"version": "2.3.8",
"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: 2 additions & 2 deletions page.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@
$classes = 'page-content '.$xe_opt->container;
}

$classes = Helper::classes( array('site-content', 'padding-top-bottom', $classes) );
$classes = Helper::classes( array('site-content', 'padding-top-bottom', $classes, 'clearfix') );

get_header(); ?>

<div id="content" class="site-content padding-top-bottom <?php echo esc_attr($classes); ?>">
<div id="content" class="<?php echo esc_attr($classes); ?>">

<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
Expand Down
3 changes: 3 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ License URI: http://www.gnu.org/licenses/gpl-2.0.html
This is just another WordPress framework or whatever you may prefer to call it. It is built for developers to create awesome and highly customizable themes for clients or sell it on any marketplace.

== Changelog ==
----- v2.3.8 ------------
Fixed: Minor bugs in layout.

----- v2.3.7 ------------
Fixed: Blog and archives inconsistent bottom padding.

Expand Down
2 changes: 1 addition & 1 deletion search.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

get_header(); ?>

<div id="content" class="site-content <?php echo esc_attr($xe_opt->container); ?> padding-top-bottom">
<div id="content" class="site-content <?php echo esc_attr($xe_opt->container); ?> padding-top-bottom clearfix">

<section id="primary" class="content-area">
<main id="main" class="site-main" role="main">
Expand Down
2 changes: 1 addition & 1 deletion single.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

get_header(); ?>

<div id="content" class="site-content <?php echo esc_attr($xe_opt->container); ?> padding-top-bottom">
<div id="content" class="site-content <?php echo esc_attr($xe_opt->container); ?> padding-top-bottom clearfix">

<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
Expand Down

0 comments on commit 1587f0a

Please sign in to comment.