Classic grid, portfolio slug

Discussion in 'Helium' started by bmaverick, Mar 27, 2017.

  1. bmaverick

    bmaverick New Member

    Joined:
    Mar 27, 2017
    Messages:
    4
    Likes Received:
    0
    Hi,

    Thank you for this great theme.

    A few questions:
    1. It seems that there is a bug with the classic portfolio view.
      Despite selecting the classic view, items are displayed with different heights.

    2. How can I remove "portfolio" in URL so that it reads domainname.com/postname/
    Thanks!
     
  2. maimairel

    maimairel Administrator
    Staff Member

    Joined:
    Apr 16, 2014
    Messages:
    1,550
    Likes Received:
    58
  3. bmaverick

    bmaverick New Member

    Joined:
    Mar 27, 2017
    Messages:
    4
    Likes Received:
    0
    Ok, thanks for your answers. I was hoping for an easy fix for the slug issue but couldn't found one in Google :(

    I have another question regarding the menu. I would like the main menu item to fold up when the user hover an another main menu item.
    I saw that you answered this question in a comment at themeforest. I followed your instructions and changed the compiled helium.min.js file but nothing changed. I actually even removed this file and nothing happened neither. Is this file compressed somewhere else?

    Kindly let me know.

    Thanks!
     
  4. bmaverick

    bmaverick New Member

    Joined:
    Mar 27, 2017
    Messages:
    4
    Likes Received:
    0
    Anybody?

    Also, I have limited the number of portfolios per page at 8 and would like to do the same thing with the portfolio categories (filter), how do I do that?

    Thanks
     
  5. maimairel

    maimairel Administrator
    Staff Member

    Joined:
    Apr 16, 2014
    Messages:
    1,550
    Likes Received:
    58
    Hi,

    Sorry for the late reply.

    You should make the changes inside helium.js, compress it using closure-compiler.appspot.com and paste it into helium.min.js

    The helium.min.js is only used when you've WP_DEBUG disabled, otherwise it is not used.

    For portfolio categories, as it's a native WP page you can only set it through Settings > Reading > Blog pages show at most

    Thanks
     
  6. bmaverick

    bmaverick New Member

    Joined:
    Mar 27, 2017
    Messages:
    4
    Likes Received:
    0
    Thanks for your reply.
    I have added the following code below the if( $.fn.hoverIntent ) {} in the helium.setup.js (which I have compressed and passed into helium.min.js) but nothing happened:
    Code (Text):
    _doc.on( 'mouseenter', '.main-nav .menu-item-has-children', function() {
        var that = this;
        $( '.main-nav .menu-item-has-children' ).not( this ).filter(function() {
            return ! $.contains( this, that );
        }).children( 'ul.sub-menu' ).finish().slideUp()
            .closest( '.menu-item' ).removeClass( 'sub-menu-open' );
    });
    What am I missing?

    Thanks
     

Share This Page