Hi, I’ve modified my breadcrumbs hook to display before_main_content inside a container. But I’d like the container to have less top and bottom margin and also reduce the space between the container and the article as it is twice the space between the container and the header.
Here’s my hook code:
<?php if ( function_exists('yoast_breadcrumb') ) { ?>
<div class="grid-container grid-parent">
<div class="page-header">
<?php yoast_breadcrumb('<p id="breadcrumbs">','</p>'); ?>
</div>
</div>
<?php } ?>
I’ve not added any CSS to it.
Thanks in advance!