- This topic has 2 replies, 2 voices, and was last updated 5 years, 1 month 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!
Web Hosting is an exceptionally focused market with all the ground-breaking innovation accessible finding the correct arrangement can be unwieldy. Web hosts can offer you […]
We have put all our expertise and professional skills to dig out the best mass media WordPress themes for mass media and news portals, magazine […]
Making the right choice while developing a website gives you high rankings in the business world. But if your footsteps only fail and lack behind […]