- This topic has 2 replies, 2 voices, and was last updated 4 years, 7 months ago by .
- You must be logged in to reply to this topic.
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.
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!
Are you also confused about WordPress themes that are dedicatedly developed for creating a CV-based website? Do not worry as this is one of the […]
Catering WordPress Themes round up for food caterers The best assortment of catering WordPress Themes is considered in this article for food catering services and […]
WordPress is a popular free Website Management Software which is used by number of peoples out there who are looking to create a website. WordPress […]