Hi Support,
I got my archive description displayed on this page: https://dewasmachinevergelijker.nl/wasmachine-blog/. I would like to have the description below the posts excerpts and with a white background. Now it displays above the breadcrumbs in grey.
Can you help me? I’m using X and I already have a child theme where I inserted the following code in the functions.php to show the category in the first place:
// Add post Category Titles
// =============================================================================
function add_category_titles(){ ?>
<header class="x-header-landmark x-container max width">
<h1 class="h-landmark"><span><?php echo $title ?></span></h1>
<p class="p-landmark-desc"><span><?php echo category_description(); ?></span></p>
<?php endif;
}
add_action('x_after_view_global__slider-below', 'add_category_titles');
// =============================================================================
Thank you in advance.