Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #897320
    jonesy2367
    Participant

    i’ve disabled a portfolio page in custom javasscript using..

    jQuery(“.page-template-template-layout-portfolio.artists-2015 a.entry-cover”).removeAttr(“href”);

    which works well

    however on the forward/backward arrows in the live portfolio the ‘hidden’ portfolio posts are still appearing – have you any idea how i could stop them from showing?

    many thanks

    #898072
    Rupok
    Member

    Hi there,

    Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    #898324
    jonesy2367
    Participant
    This reply has been marked as private.
    #898773
    Thai
    Moderator

    Hi There,

    Regretfully, at this time I am not entirely certain what it is you would like to accomplish based on the information given in your post. If you wouldn’t mind providing us with a little more clarification on what it is you’re wanting to do (a link to a similar example site would be very helpful, or perhaps some screenshots), we’ll be happy to provide you with a response once we have a better understanding of the situation.

    #898784
    jonesy2367
    Participant
    This reply has been marked as private.
    #899714
    Rupok
    Member

    Hi there,

    Thanks for updating. Sorry but I am still not getting it properly. It seems you don’t want the portfolio items to be appear next/previous by the arrows. So you can remove the nav arrow by adding the following Custom CSS :

    .single-x-portfolio .x-nav-articles {
      display: none;
    }

    Hope this makes sense. If you have other concern then kindly describe a bit simply.

    Cheers!

    #902931
    jonesy2367
    Participant

    ah i did want to keep the arrows – i just wondered if there was a jquery if/else statement that i could add to the arrows to say if the next portfolio/post = category X don’t display it

    #903721
    Rue Nel
    Moderator

    Hello There,

    Thanks for the updates! Regretfully this isn’t a feature offered by X. It could be possible with custom development, but this would be outside the scope of support we can offer. Our support only covers getting setup, theme features, and bug fixes. You may wish to consult a developer to assist you with this. X is quite extensible with child themes, so there are plenty of possibilities.

    Thanks for understanding. Take care!

    #903837
    jonesy2367
    Participant

    thanks anyway 🙂

    #904777
    Friech
    Moderator

    Please feel free to get in touch with us regarding any further queries about the X|Theme and Cornerstone.

    Cheers!

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