Okay
  Public Ticket #314713
remove the 'view larger' on portfolio items
Closed

Comments

  • Archos started the conversation

    How can I

    1. Remove the botton that says "view larger" on portfolio items?

    I would also like to play around with it. E.g., change it to 'buy now' and have it be an external link or something? Thanks!

  •  8,848
    Tahir replied

    Hey!

    Add this into the Custom CSS box located in your Salient Options panel :
    body .portfolio-items .col .work-item .work-info a:first-child {
        display: none !important;
    }
    To change the text or make it a link you will have to change the php code in "Salient/nectar/tinymce/shortcode-processing.php" 
    Thanks


    ThemeNectar Support Team 

  • Archos replied

    This worked like a charm! Thanks! Where do I go to change the php code and make a "buy now" button that is a link to a sales page?

    THANK YOU!!

  •  8,848
    Tahir replied

    Hey Again!

    You will have to edit the file "Salient/nectar/tinymce/shortcode-processing.php" via FTP . 

    Thanks


    ThemeNectar Support Team 

  • Archos replied

    Sorry to ask again--I'm really just beginning-- what does "edit the file "Salient/nectar/tinymce/shortcode-processing.php" via FTP" mean, step by step? Does FTP mean i have to go to Z-panel? And what edits do I do?

  •  8,848
    Tahir replied

    Hey Archos!

    This video might help: http://websynthesis.com/ftp-connect-and-edit/  . 

    Thanks 


    ThemeNectar Support Team 

  • Archos replied

    ah. ok. Thanks again!

  • Valerie replied

    Hi

    I wanted also to remove the "view larger" on portfolio items and added the code hereabove to the Salient Optionanel. This work fine for that precise portfolio.

    But I have a side effect on another portfolio (meta on bottom on hover) the hover doesn't work anymore and it is impossible to select any portfolio item.

    How can I handle that ?

    Thanks for your help

  •  8,848
    Tahir replied

    Hey Again!

    Try adding the page id in the css selector to restrict the css to that page only.

    body.page-id-567 .portfolio-items .col .work-item .work-info a:first-child {
        display: none !important;
    }

    Thanks


    ThemeNectar Support Team 

  • Valerie replied

    Working fine. Thanks for your quick reply