Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1095744
    lmradmin
    Participant

    When he portfolio page loads, I want the Eyebrow category to load up rather than All.

    I have added;

    jQuery( function($) {

    $(document).ready( function() {

    $(‘.page-template-template-layout-portfolio .x-portfolio-filters-menu > li:nth-child(3) > a’).trigger(‘click’);

    } );

    } );

    The page now loads and the Eyebrow category is highlighted as if it was clicked, however the images below it belong to the All category rather than just the Eyebrow category…

    #1095745
    lmradmin
    Participant
    This reply has been marked as private.
    #1096073
    Friech
    Moderator

    Hi There,

    Thanks for writing in, but sorry It seems this page http://www.uniqline.co.uk/portfolio/ is in under construction mode? Please provide us the portfolio URL or login credentials in private reply so we can take a closer look.

    Cheers!

    #1097205
    lmradmin
    Participant

    Hi, I just de-activated the coming soon page. Thanks

    #1097243
    Rupok
    Member

    Hi there,

    Thanks for updating but I don’t think it’s deactivated – http://prntscr.com/bvrd86

    Cheers!

    #1097352
    lmradmin
    Participant

    Hi, please check again. Thanks

    #1097492
    Rahul
    Moderator

    Alright!

    If you have any further queries, do let us know. We’d be happy to assist you with everything!

    Thanks!

    #1097720
    lmradmin
    Participant

    Not sure what you mean, I haven’t resolved anything? Thanks

    #1097844
    Nico
    Moderator

    Hi There,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks.

    #1098814
    lmradmin
    Participant
    This reply has been marked as private.
    #1099400
    Rue Nel
    Moderator

    Hello There,

    Thanks for providing the login credentials. To resolve this issue, please update your JS code and use this instead:

    jQuery( function($) {
      $(window).load( function() {
    	$('.page-template-template-layout-portfolio .x-portfolio-filters-menu > li:nth-child(3) > a').trigger('click');
      });
    });

    This code will only gets triggered once the page is loaded.
    Please let us know if this works out for you. Thank you.

    #1099829
    lmradmin
    Participant

    Thank you that works, only little problem is upon clicking on the image to view as lightbox, the images in the lightbox are belonging to the all category…

    #1099846
    Christopher
    Moderator

    Hi there,

    Further customizations from here would be getting into custom development, which is outside the scope of support we can offer. If you need more in depth changes, you may wish to consult with a developer. X is quite extensible with child themes, so there are plenty of possibilities. Thanks for understanding.

  • <script> jQuery(function($){ $("#no-reply-1095744 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>