How to Change the Portfolio Block’s “Get in touch” text & Hover Icon!
First up we will change the hover icon for the portfolio section. The One Engine theme uses Font Awesome Icons so it is super easy to change them. All we need to do is change one line of code in the et-portfolio-block.php file. You can use any of the icons found here! In this short video tutorial we are changing the magnifying glass icon to a play button inside of a circle. Do a quick search in your code editor for ” fa-search ” to find the line. Then just put in the new tag. This example is ” fa-play-circle-o “.
Next we are going to change the “Get in touch” text for the contact button in the portfolio section. This might be a little confusing for some people as the code to do this is not found in the et-portfolio-block.php file. It is found in the functions.php file. That is in the root folder for the One Engine theme. Grab it and open it in your text editor. Do a quick search for ” get in touch ” to find the right line. Change the text to what you want, hit save, and replace the file. Make sure to only change the display text and nothing else 😉