🐞 fix: Adjust mobile layout for blog page and add regression tests
This commit is contained in:
@@ -25,8 +25,8 @@ if ( ! $heading ) {
|
||||
$wrapperStyle = $bgColor ? 'background-color: ' . esc_attr( $bgColor ) . ';' : '';
|
||||
?>
|
||||
|
||||
<div class="page-hero <?php echo $isDark ? 'dark' : ''; ?> lg:px-0 lg:mt-30 lg:mb-4" style="<?php echo esc_attr( $wrapperStyle ); ?>">
|
||||
<div class="page-hero__content container flex flex-col lg:flex-row justify-between gap-20 mx-auto px-0!">
|
||||
<div class="page-hero <?php echo $isDark ? 'dark' : ''; ?> pt-4 lg:px-0 lg:pt-30 lg:mb-4" style="<?php echo esc_attr( $wrapperStyle ); ?>">
|
||||
<div class="page-hero__content container flex flex-col lg:flex-row justify-between gap-6 lg:gap-20 mx-auto lg:px-0!">
|
||||
<!-- <div id="breadcrumbs">
|
||||
<?php Breadcrumbs::render(); ?>
|
||||
</div> -->
|
||||
@@ -41,7 +41,7 @@ $wrapperStyle = $bgColor ? 'background-color: ' . esc_attr( $bgColor ) . ';' : '
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( $intro ) : ?>
|
||||
<div class="page-hero__intro grow text-18px pt-3">
|
||||
<div class="page-hero__intro grow text-18px mb-6">
|
||||
<?php echo wp_kses_post( $intro ); ?>
|
||||
</div>
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user