Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #817876

    Hi All,

    I am looking for a way to move the category title from the original “hidden” place (display:none in enfold css).
    Basically the category title is in the enfold title & breadcrumb container, therefor the actual woocommerce title has been hidden.

    However I am not using this title & breadcrumb container and the title is still hidden. When i unhide the title, its outside of the main content container.

    Does anybody know of a way to move this title to the main content container, just above the category description? I know you can add this title to the description, but when automating workflows for clients this isnt really handy.

    code says it all

    Preferably a childtheme function to add to functions.php

    Best regards,
    Thomas

    #818102

    Hey borkent,

    Could you provide to us your WP credentials?

    Best regards,
    John Torvik

    #818160

    Hi John,

    Site is still in development/ xampp.
    Is the description of the problem not clear?

    Best regards,
    Thomas

    #818549

    Hi,

    Can you try to add this code at the bottom of functions.php:

    function add_custom_script(){
    ?>
    <script type="text/javascript">
    (function($){
    	function move_product_title() {
    		$(".shop_columns_3 .page-title").prependTo(".template-shop.content");
    	}
    	move_product_title();
    })(jQuery);
    </script>
    <?php 
    }
    add_action('wp_footer', 'add_custom_script');

    Hope this helps :)

    Best regards,
    Nikko

    #818635

    perfect! works like a charm, thank you!

    #818668

    Hi,

    Glad we could help. Thanks for using Enfold :)

    Best regards,
    Nikko

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.