Forum has been created to help all our customers in properly working our theme. We offer complete help with configuration theme and make default look, just like on our Be|theme demo. We don`t offer theme customization.


Before creating a new discussion, please:
1. Check on forum if discussion hasn`t been created before. Use the forum Search on the right.
2. Read carefully the documentation included to package.
3. If you didn`t find what you need and would like to post a new question click the "Start a New Discussion" button on the right.
4. You can post on forum only after registration (you need purchase code to register) .


NOTE!!! If you are starting a new topic and have got problems with your site and you want us to check what`s wrong please always give url to your site because without that we can`t check what`s wrong. Each case may be different because of your installed plugins, servers or other things.


IMPORTANT!!! Along with your inquiry, please attach the address of the page which concerns the question. This will cause the time to answer on your question will be much shorter. If you do not want to publish your address publicly in the forum, please send a private message. Thanks!

Remove "all" filter from portfolio

Hello, 

how do I remove the "all" filter from my portfolio (www.grandega.de)? Ideally the first category after the "all" filter should be pre-selected. 

Thanks in advance 

Stefanie 

Comments

  • Please sign in to see answear!
  • Hi, 

    thanks for the answer. So I put 

    #portfoliotxt{.all parameter display:none.} 

    but nothing seems to happen. Can you tell me where my mistake is? The class name is portfoliotxt

    Sorry, I'm not a programmer at all... 

    Thanks! 

    Stefanie 
  • Please sign in to see answear!
  • Hi, 

    haha - thanks! ;) 

    This makes the filter disappear but it doesn't pre-filter. It would be great if the first filter is activated as soon as you load the site for the first time. 

    Thank you! 

    Stefanie 
  • Please sign in to see answear!
  • edited August 28
    Here is  the piece of code that you can add in functions.php
    add_action('wp_footer', 'mfn_auto_click');
    function mfn_auto_click(){
    ?>
    <script>
    (function($){
    $(window).load(function() {
    $('.categoryname a').trigger('click');
    });
    })(jQuery);
    </script>

    Change the “categoryname” to the name of the first category on your installation.

Sign In or Register to comment.