styled and modified convos dates

This commit is contained in:
jorge 2024-04-02 19:41:17 +02:00
parent 2a7d702e6f
commit b54d5de214
7 changed files with 19 additions and 9 deletions

View File

@ -2284,6 +2284,7 @@ Add your custom styles in this file so it is easier to update the theme.
.edit-post-visual-editor__content-area .editor-styles-wrapper article.xarxaprod-convo > .xarxaprod-convo-info-fields {
padding-top: 2rem;
padding-bottom: 2rem;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper article.xarxaprod-convo > .entry-footer {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -179,8 +179,9 @@
}
}
article.xarxaprod-convo {
> .xarxaprod-convo-info-fields, {
> .xarxaprod-convo-info-fields {
padding-top: 2rem;
padding-bottom: 2rem;
}
> .entry-footer {
padding-top: 2rem;

View File

@ -2113,6 +2113,7 @@ textarea {
article.xarxaprod-convo > .xarxaprod-convo-info-fields {
padding-top: 2rem;
padding-bottom: 2rem;
}
article.xarxaprod-convo > .entry-footer {

File diff suppressed because one or more lines are too long

View File

@ -106,10 +106,14 @@
<dt>Termini</dt>
<?php if( get_field('xxp_convo_apply_begin') || get_field('xxp_convo_apply_end') ): ?>
<dd class="xarxaprod-label item-xxp_convo_dates">
<?php if( get_field('xxp_convo_apply_begin') ): ?>
<span class="item-xxp_convo_apply_begin">del <?php the_field('xxp_convo_apply_begin'); ?> </span>
<?php endif; ?>
<?php if( get_field('xxp_convo_apply_end') && !get_field('xxp_convo_apply_begin') ){ echo 'fins'; } ?>
<?php if( get_field('xxp_convo_apply_end') ): ?>
<span class="item-xxp_convo_apply_end">al <?php the_field('xxp_convo_apply_end'); ?> </span>
<?php endif; ?>
<?php if( get_field('xxp_convo_apply_text') ): ?>
<br />
<span class="item-xxp_convo_apply_text"><?php the_field('xxp_convo_apply_text'); ?></span>
<?php endif; ?>
</dd>
@ -120,10 +124,13 @@
<dt>Periode</dt>
<?php if( get_field('xxp_convo_date_begin') || get_field('xxp_convo_date_end') ): ?>
<dd class="xarxaprod-label item-xxp_convo_dates">
del
<?php if( get_field('xxp_convo_date_begin') ): ?>
<span class="item-xxp_convo_date_begin">del <?php the_field('xxp_convo_date_begin'); ?> </span>
al
<?php endif;?>
<?php if( get_field('xxp_convo_date_end') && !get_field('xxp_convo_date_begin') ){ echo 'fins'; } ?>
<?php if( get_field('xxp_convo_date_end') ): ?>
<span class="item-xxp_convo_date_end">al <?php the_field('xxp_convo_date_end'); ?> </span>
<?php endif;?>
</dd>
<?php endif; ?>
</li>