WordPress.org

Ready to get started?Download WordPress

Forums

Sampression Lite
How to make filter expanded all time? (7 posts)

  1. 3x7
    Member
    Posted 1 year ago #

    How can I make the filter expanded/opened all the time, so all the available categories are shown without "show/hide" option?

    Option to choose "expanded or not" would be great...

    http://wordpress.org/extend/themes/sampression-lite/

  2. Zeus
    Member
    Posted 12 months ago #

    goto ...\wp-content\themes\sampression-lite\lib\js and find 'load_content.js' and delete it!
    you're done!

    Make sure to backup the deleted file.

  3. Sampression
    Member
    Theme Author

    Posted 12 months ago #

    Hi 3x7,
    Go to the script.js file on wp-content\themes\sampression-lite\lib\js\ and change

    if( minHt < ulHt ) {
    	$('#btn-nav-opt').show();
    	$('#primary-nav .sixteen')
    	.animate({ 'height' : ulHt },300,function(){
    		$('#btn-nav-opt').addClass('up');
    	})
    	.delay( 300)
    	.animate({ 'height' : minHt },1000,function(){
    		$('#btn-nav-opt').removeClass('up');
    	});
    }

    to

    if( minHt < ulHt ) {
    	$('#primary-nav .sixteen')
    	.animate({ 'height' : ulHt },300,function(){
    		$('#btn-nav-opt').addClass('up');
    	});
    }

    And let us know if that helps.
    Thanks

  4. Zeus
    Member
    Posted 12 months ago #

    @smapression

    I tried your procedure but not working...

  5. dharmapoudel
    Member
    Posted 12 months ago #

    It works.

  6. dharmapoudel
    Member
    Posted 12 months ago #

    I tested it and it works.
    Thanks.

  7. Zeus
    Member
    Posted 12 months ago #

    @sampression

    I restored load_content.js file and tried your steps several times,

    but not working!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic