Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Montezuma Theme (http://forum.bytesforall.com/forumdisplay.php?f=53)
-   -   [SOLVED] How to turn off hover-transparecy for post thumbs? (http://forum.bytesforall.com/showthread.php?t=20423)

Fux May 31, 2013 03:25 AM

[SOLVED] How to turn off hover-transparecy for post thumbs?
 
It seems to me that the fade/transparency for thumbnails (featured images) is nowhere to be found in the available CSS and PHP. It seems to be hardcoded. Is there no way to just turn it off without having to fix it every time Montezuma gets updated?

Code:

<div class="img_wrapper" style="width: 0px; height: 0px;">
<img src="http://xxx" width="300" height="200" alt="Hello world!" style="position: absolute; z-index: 998; opacity: 1;" class="img_grayscale">
<img src="http://xxx" width="300" height="200" alt="Hello world!" style="position: absolute; opacity: 0;"></div>


juggledad May 31, 2013 05:09 AM

Edit the virtual template 'postformat.php' and find the line
HTML Code:

        <?php bfa_thumb( 620, 180, true, '<div class="thumb-shadow"><div class="post-thumb">', '</div></div>' ); ?>
and change it to
HTML Code:

        <?php bfa_thumb( 620, 180, true, '', '' ); ?>

Fux Jun 3, 2013 03:19 AM

Thank you very much! I should have tried that. I was confused because that particular code did not appear in the css for "post-thumb".


All times are GMT -6. The time now is 04:09 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.