Fixes title page border not being overriden by customizer.

This commit is contained in:
mateuswetah 2020-07-14 12:25:53 -03:00
parent 64a05bef13
commit 8b7a90acf0
6 changed files with 9 additions and 7 deletions

View File

@ -7,7 +7,7 @@
<div class="row">
<div class="col col-sm mx-sm-auto">
<div class="tainacan-title">
<div class="border-bottom border-jelly-bean tainacan-title-page" style="border-width: 2px !important;">
<div class="border-jelly-bean tainacan-title-page" style="border-width: 2px !important;">
<ul class="list-inline mb-1 d-flex">
<li class="list-inline-item font-weight-bold title-page">
<h1><?php echo get_the_archive_title(); ?></h1>

View File

@ -192,8 +192,8 @@ nav{
border-bottom: none;
padding: 0;
.max-large{
margin: 0 4.16666666667%;
margin: 0 4.16666666667vw;
margin: 0 calc(4.16666666667% - 48px) 0 4.16666666667%;
margin: 0 calc(4.16666666667vw - 48px) 0 4.16666666667vw;
.tainacan-form-search{
padding-right: 1.875rem !important;
.tainacan-input-search{
@ -244,6 +244,7 @@ nav{
width: auto;
h1 {
font-size: 1.5rem;
font-weight: normal;
margin: 0.36rem 0;
}
.logo {
@ -761,6 +762,7 @@ nav{
.tainacan-title{
.tainacan-title-page{
margin-bottom: 0.75rem;
border-bottom: 2px solid #298596;
.title-page h1{
font-size: 1.25rem;
font-weight: bold;

File diff suppressed because one or more lines are too long

View File

@ -2,7 +2,7 @@
<?php while ( have_posts() ) : the_post(); ?>
<?php if (!is_page_template( 'page-templates/landing.php' ) && !is_page_template( 'page-templates/landing-breadcrumb.php' ) ) : ?>
<div class="tainacan-title">
<div class="border-bottom border-jelly-bean tainacan-title-page" style="border-width: 2px !important;">
<div class="border-jelly-bean tainacan-title-page" style="border-width: 2px !important;">
<ul class="list-inline mb-1">
<li class="list-inline-item text-midnight-blue font-weight-bold title-page">
<h1><?php the_title(); ?></h1>

View File

@ -1,6 +1,6 @@
<?php if ( have_posts() ) : ?>
<div class="tainacan-title">
<div class="border-bottom border-jelly-bean tainacan-title-page" style="border-width: 2px !important;">
<div class="border-jelly-bean tainacan-title-page" style="border-width: 2px !important;">
<ul class="list-inline mb-1 d-flex">
<li class="list-inline-item text-midnight-blue font-weight-bold title-page">
<h1>

View File

@ -150,7 +150,7 @@ if (get_theme_mod('tainacan_single_item_collection_header', false)) {
<?php else: ?>
<div class="tainacan-single-post tainacan-single-item-heading tainacan-title">
<div class="border-bottom border-jelly-bean tainacan-title-page" style="border-width: 2px !important;">
<div class="border-jelly-bean tainacan-title-page" style="border-width: 2px !important;">
<ul class="list-inline mb-1">
<li class="list-inline-item text-midnight-blue font-weight-bold title-page">
<h1><?php the_title(); ?></h1>