Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1191539
    Jared
    Participant

    I have customized the Ethos _landmark-header.php file in the child theme per the instructions on https://community.theme.co/forums/topic/how-to-display-category-name-and-description-in-renew/#post-125646, and am successfully viewing the Category Title now, but I unable to find the correct balance of css left alignment, so that the Product Category Title (and corresponding description if text is available to show) is left aligned like the header logo and body container, and all screen widths.

    A product category url example is visible at https://www.plowexperts.com/product-category/boss-control-kit/.

    WP, X-Theme, and Cornerstone are all at current versions.

    Thank you in advance!

    #1191783
    Rupok
    Member

    Hi there,

    Thanks for writing in! Let’s wrap the title and description within a container div :

    <div class="x-container width max">
        <h1 class="h-landmark"><?php single_cat_title(); ?> </span></h1>
        <p class="cat-desc"><?php echo category_description(); ?></p>
    </div>

    Hope this helps.

    #1191819
    Jared
    Participant

    Ahh, of course. Thanks for the reminder and assistance!

    #1191839
    Lely
    Moderator

    You’re welcome!

    Cheers!

  • <script> jQuery(function($){ $("#no-reply-1191539 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>