Portfolio - Remove hyperlink to project detail; Remove icons.

edited July 2015 in HealthCentre
1. How to remove hyperlink in portfolio?

2. How to remove icons in portfolio? I would only have active lightbox view mode, after clicking the picture (without lightbox icon).
portfolio.jpg
1172 x 668 - 125K

Comments

  • Hi 

    To remove icons  
    Add the below css code into custom css box 

    .hc_portfolio_showcase .hc_portfolio_showcase_icons { display:none; }


    Thanks
    Akhilesh
  • Hi 

    And to remove hyperlink from  portfolio title . 

    Follow the given below instruction . 

    If you are using portfolio 4 column template . 

    Find the portfolio-4-column.php file located in your theme folder .
    Open it and find the below line of code on line no 98 

    <h3><a href="<?php echo $meta_project_link; ?>" <?php  if(get_post_meta( get_the_ID(),'meta_project_target', true )) { echo "target='_blank'"; }  ?> ><?php the_title(); ?></a></h3>

    Then replace it with below  line of code . 

    <h3><?php the_title(); ?></h3>

    Let me know for further assistance .

    Thanks 
    AKhilesh
  • Almost done, but the lightbox preview doesn't work.
  • Hi

    To  show light box preview  , we have to add preview icon . 

    Are you agree with this situation .

    Thanks 

  • I agree.
  • Hi 

    Okay 
    For this  firstly remove the css code that we have added previously into custom css box . 
    .hc_portfolio_showcase .hc_portfolio_showcase_icons { display:none; }


    Then follow the given below instruction .

    1 Open the  portfolio-4-column.php file . 
    2 And find the below line of code on line no  90.

    <a title="Health Center" href="<?php echo $meta_project_link; ?>" <?php  if(get_post_meta( get_the_ID(),'meta_project_target', true )) { echo "target='_blank'"; }  ?> ><i class="fa fa-link"></i></a>

    3 And remove it .

    Let me know for further assistance . 


    Thanks 
    Akhilesh
  • Hi 

    Did your issue resolve ?

    Thanks
    Akhilesh
  • Yes, it works. Thank You.
This discussion has been closed.