- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
WordPress. How to make portfolio images not clickable&remove hover effect
September 28, 2012
In this tutorial you will learn how to control wordpress portfolio images – remove hover and link functionalities
- First you need to do is to open wordpress theme folder: wp-content/themes/your_theme_folder
-
You will be able to locate several pages related to portfolio:
- page-Portfolio4Cols.php
- page-Portfolio3Cols.php
- page-Portfolio2Cols.php
- page-Portfolio1Cols.php
Each one is for different portfolio page with different number of columns.
-
Locate the one you use for the page you need to update and open it with any text editor. You will be able to see a lot of coding but the only stuff you need should look like it follows:
-
To remove roll over effect you just need to remove the following script from the block you’ve seem before:
-
Removing link attribute is same easy. You need to leave image only in the block so it should look like:
-
After you’ve edited page template – save it and test your website. It will work like a charm.
Thank you for paying attention to our video tutorials. Please contact us if you have any issues in editing the template. Good Luck!!!
Feel free to check the detailed video tutorial below:
WordPress. Рow to make portfolio images not clickable&remove hover effect