Viewing 23 posts - 1 through 23 (of 23 total)
  • Author
    Posts
  • #1143079

    Hi,

    For my categorie style i can coose standard or display product image as fullwidth banner.

    Is it posible to leave out the image on the categorie page because the image of the categorie wont look nice.

    thanks for your help

    greatz myrna

    #1143290

    Hey thehorsestore,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    .archive.woocommerce #av_product_description {
        display: none;
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1157613

    Hi victoria,

    Last question on this subject :-)

    Is ik possible to show the tekst of the categorie below my products?

    thanks a lot

    #1157637

    Hi i found the code below:

    function av_move_wc_cat_description(){
    ?>
    <script>
    jQuery(window).load(function(){
    jQuery(“.term-description”).insertAfter(jQuery(“.products”));
    });
    </script>
    <?php
    }
    add_action(‘wp_footer’, ‘av_move_wc_cat_description’);

    But i want it to be below mij next page button :)
    thanks

    #1158689

    Hi,

    Thank you for the update.

    We can’t find the category section in the overview page or the single product page. Could you give us a screenshot of the category section that you’d like to move? You can use imgur or dropbox for the screenshot.

    Best regards,
    Ismael

    #1158796
    #1159046

    Hi,

    Thank you for the update.

    In the recent script, try to replace this line..

    jQuery(“.term-description”).insertAfter(jQuery(“.products”));
    

    .. with this code:

    jQuery(".term-description").insertAfter(jQuery(".pagination"));
    

    This should insert the term description container below the pagination.

    Best regards,
    Ismael

    #1159786

    i will try, the code didnt work for me anymore
    changed it to:

    add_action(‘wp_footer’, ‘ava_new_custom_script’);
    function ava_new_custom_script(){
    ?>
    <script type=”text/javascript”>
    (function($) {
    function a() {
    $(‘.term-description’).insertAfter(‘.pagination’);
    }

    $(window).load(function() {
    a();
    });
    })(jQuery);
    </script>
    <?php
    }

    but what happens is:
    When there is less then 45 products there is no pagination so then he automaticly puts the description back on top.
    is it possible to make a combination without the one overwriting the other?

    #1160276

    Hi,

    Thank you for the update.

    Try to replace the same line with the following code.

    var terms = jQuery(".term-description");
    var pagination = jQuery(".pagination");
    var wrapper = jQuery(".template-shop .entry-content-wrapper");
    
    if(!wrapper) return;
    
    if(pagination) {
        terms.insertAfter(pagination);
    } else {
        terms.appendTo(wrapper);
    }

    This should append the terms container to the entry content wrapper when there is no pagination.

    Best regards,
    Ismael

    #1160279

    Hi Ismael,

    Thanks for your reply. The code in general doesnt work anymore……
    not sure what is going wrong before it worked

    #1160860

    Hi,

    Can we have access to the dashboard? We would like to test the code. Please make sure that the Appearance > Editor panel is accessible.

    Thank you for your patience.

    Best regards,
    Ismael

    #1162546
    This reply has been marked as private.
    #1162677

    Hi thehorsestore,

    Yes, please make and share credentials with us in private.

    Best regards,
    Victoria

    #1162888
    This reply has been marked as private.
    #1163281

    Hi,

    Thank you for the update.

    We modified the script in the functions.php file. It will now move the description below the pagination if it exists. If not, the script will move the description to the main wrapper below the product loop. Please note that this will only work in the initial page. The description will be removed automatically from the succeeding pages.

    You can use this css code to display back the “scroll to top” button on mobile view.

    @media only screen and (max-width: 767px) {
       .responsive #scroll-top-link {
           display: block !important;
       }
    }

    Best regards,
    Ismael

    #1163450

    Thanks for al your help ismael

    #1163533

    Hi,

    Great, I’m glad that Ismael could help you out. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #1163749

    Hi rikard,
    I think this is as good as it gets?
    Stil when there is no product navigation (page numbering) the categorie description moves on top.

    thanks for your time

    #1164632

    Hi,

    yea this cant be fixed because it is a placement that needs to be covered.

    Best regards,
    Basilis

    #1165485

    can you advice how?
    this is the code how Ismael put this in:

    function ava_move_pagination(){
    ?>
    <script type=”text/javascript”>
    (function($) {
    $(document).ready(function() {
    var terms = $(“.term-description”);
    var pagination = $(“.pagination”);
    var wrapper = $(“.template-shop .entry-content-wrapper”);

    if(!wrapper) return;

    if(pagination) {
    terms.insertAfter(pagination);
    } else {
    terms.appendTo(wrapper);
    }
    });
    })(jQuery);
    </script>
    <?php
    }
    add_action(‘wp_footer’, ‘ava_move_pagination’);

    #1166132

    Hi,
    Sorry for the late reply, I’m not sure what your question is, as I read the thread @Basilis says it can not be done?

    Best regards,
    Mike

    #1166532

    hoi sorry
    i was reading: yes , this can be fixed :)
    to bad, you can close this topic

    thanks

    #1166776

    Hi,
    Sorry, and thanks for using Enfold.

    Best regards,
    Mike

Viewing 23 posts - 1 through 23 (of 23 total)
  • The topic ‘enfold child categorie style’ is closed to new replies.