Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #444899

    Hi,

    Two things:

    1. The system add “Nogen” before the text in my dropdown layered selections.

    2. How do I remove the () around the numbers – like you have on the Enfold demo

    Please have a look at pic

    Picture link

    #445174

    Hi Jakob40004000!

    Your screenshot is not loading for me. Go ahead and send us a link to your page so we can get a better idea of what’s going on.

    Also be sure to deactivate all plugins while testing to see if they are causing the problem.

    Cheers!
    Elliott

    #445181
    #445631

    Hey!

    Could you provide us with a link to the site in question so that we can take a closer look please?

    Regards,
    Rikard

    #446336
    This reply has been marked as private.
    #448271

    Hi!

    1.) I’m sorry but I’m not sure what you’re trying to do here. Do you want to remove the “Nogen” text?

    2.) Add this in the functions.php file to remove the () characters:

    add_action('wp_footer', 'ava_custom_script', 10);
    function ava_custom_script(){
    ?>
    <script>
    (function($){	
    	$('.widget span.count').each(function() {
    		$(this).text($(this).text().replace(/[()]/g,''));	
    	});
    }(jQuery));
    </script>
    <?php
    }

    Best regards,
    Ismael

    #453757

    1) You are right. The “text “Nogen” dosent make sense, and I dont know where it is comming from. The text after “Nogen” is ment to be there..

    2) This is solved, thanks!

    #453761

    Hi!

    Please add following code to Functions.php file in Appearance > Editor

    function add_custom_text(){
    ?>
    <script>
    jQuery(window).load(function(){
    jQuery('.widget').contains('Nogen ').remove();​
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_text');

    Regards,
    Yigit

    #453773

    Adding this didnt remove the text

    #453783

    Hi!

    It seems like you have added the code to both functions.php file and functions-enfold.php file. You should only add it to functions.php file. Please edit the file via FTP and remove the code from functions-enfold.php file then let us know so we can look into it.

    Best regards,
    Yigit

    #453799

    Incredible how fast you responded, and you are right – I edited the wrong. Now I have removed the text via ftp, but the webshop page does not load :(:(:(:(:(:( Can you see what is wrong?

    #453810
    This reply has been marked as private.
    #453814

    Hey!

    Please review your website now. I have added the code to functions.php file and adjusted a bit and it is working fine now :)

    Best regards,
    Yigit

    #453816

    This page, where the corrections are beeing made are not loading here: http://mitsupport.dk.php53serv2.webhosting.dk/?product_cat=baerbare-brugte

    #453825

    Hey!

    Direct link you posted here is working fine on my end – https://kriesi.at/support/topic/layered-navigation-2/#post-446336

    Cheers!
    Yigit

    #453835

    Weird, it was my menu link that had changed. It works, fantastic

    It blows my mind how you are able to sell the theme and offer this premium support at that price!

    You are my hero of the week – thanks!

    #453839

    Hi!

    You are welcome, we are always happy to help :)
    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Cheers!
    Yigit

Viewing 17 posts - 1 through 17 (of 17 total)
  • The topic ‘Layered navigation’ is closed to new replies.