Tagged: x
-
AuthorPosts
-
September 26, 2016 at 7:07 pm #1191539
JaredParticipantI 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!
September 27, 2016 at 12:17 am #1191783
RupokMemberHi 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.
September 27, 2016 at 1:32 am #1191819
JaredParticipantAhh, of course. Thanks for the reminder and assistance!
September 27, 2016 at 1:52 am #1191839
LelyModeratorYou’re welcome!
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1191539 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
