- This topic has 2 replies, 2 voices, and was last updated 9 years, 2 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Forums › All Other Themes › SKT Charity – Services Four Boxes
In the default SKT Charity template the icons in the four Services boxes change color on mouseover, which I think is cool. When linking the services to a page with a featured image on the sections tab, this color change effect gets lost. I was able to create png image files that mimic the format of the default ‘donation-image-(1-4).png’ files where there’s a white image on top and an identical colored image underneath. If I save them in the images folder using the same file names as the corresponding defaults they look great and have the same color change effect, but as soon as I link a page to these boxes using the Sections tab the image references get overridden by the featured image for the page.
Is it possible to alter the index.php file so that only the text is pulled from the pages specified on the sections tab, while the icons are still pulled from whatever png image files are named ‘donation-image-1.png’ thru ‘donation-image-4.png’ in the images folder? That way we can still have the cool color change effect for the icons.
Thanks for the help!
Okay we will update the theme to retain the style in default.
Give us 2-3 days time.
Regards,
Shri
Thanks for the help, but I was able to figure it out on my own.
In the index.php file I replaced ‘<div class=”thumb_four_page”><?php the_post_thumbnail();?></div>’ with ‘<div class=”thumb_four_icon”>/images/donation-image-<?php echo $fx; ?>.png” alt=”” /></div>’
It would be great if there were an easier way to do this in future updates. Thanks again!
Promising WordPress Themes We have collected the most promising WordPress themes to guarantee the sustainable and revenue generating nature of your website revolving around any […]
Free WordPress Google Map Plugins Google Maps are the maps that can be integrated into your website to show the address in the proper way. […]
Sitecore to WordPress Migration When you want to grow your business, your Sitecore CMS platform can sometimes seem complex and expensive. Then, you need a […]