Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

Using a text widget to add image links for the pages, but how can I add effects?


  #1  
Old May 31, 2012, 11:04 AM
mgannon26's Avatar
mgannon26
 
4 posts · Aug 2010
I am using images in a text widget as like a side menu, but i want to make it so when someone click on one of the images to go to a page i can replace that image with a similar one but different color if possible. If not then if i can add a bullet or something so ppl know witch button they last clicked?

This is the website http://joanfayart.com/

and the code in my text widget:

Code:
<a href="http://joanfayart.com/"><img src="/button/home.jpg" /></a>
<br><br>
<a href="http://joanfayart.com/original-paintings/"><img src="/button/op.jpg" /></a>
<br><br>
<a href="http://joanfayart.com/prints/"><img src="/button/prints.jpg" /></a>
<br><br>
<a href="http://joanfayart.com/design-color-restoration/"><img src="/button/d&cr.jpg" /></a>
<br><br>
<a href="http://joanfayart.com/carnival-carousel-art/"><img src="/button/c&ca.jpg" /></a>
<br><br>
<a href="http://joanfayart.com/decorative-art/"><img src="/button/da.jpg" /></a>
<br><br>
<a href="http://joanfayart.com/reproductions/"><img src="/button/rpd.jpg" /></a>
<br><br>
<a href="http://joanfayart.com/folk-art/"><img src="/button/folkart.jpg" /></a>
<br><br>
<a href="http://joanfayart.com/textile-art/"><img src="/button/t&a.jpg" /></a>
<br><br>
<a href="http://joanfayart.com/fantasy/"><img src="/button/fantasy.jpg" /></a>
<br><br>
<a href="http://joanfayart.com/note-cards/"><img src="/button/notecards.jpg" /></a>
<br><br>
<a href="http://joanfayart.com/contact/"><img src="/button/contact.jpg" /></a>
  #2  
Old May 31, 2012, 03:29 PM
juggledad's Avatar
juggledad
 
23,684 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
you could probably do this, but you would have to put in some php logic to test the page you were on. You might also be able to do it with CSS using different classes.

It is going to take you some experimenting and a little elbow grease to figure this one out.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old May 31, 2012, 05:43 PM
mgannon26's Avatar
mgannon26
 
4 posts · Aug 2010
Maybe I will just tell the client I cant do it because I am not getting paid enough to put in hours of work experimenting lol! They will have to live with it the way it is. Thank you! Was hoping there would be an easier way, maybe someday there will be.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Linkable header image while using fade effects? bymclaugh Header configuration & styling 15 Jul 6, 2011 08:30 AM
Text widget image showing up on pages Vanessa_S Sidebars & Widgets 3 Apr 3, 2011 07:35 AM
BUGFIX 361-04: Allow Custom Menu widget links to use same styling as Pages widget. juggledad Old Version fixes and change logs 1 Jan 22, 2011 09:40 AM
Changing the links default title text to an image jpg of text veenublue Sidebars & Widgets 2 Jun 5, 2009 07:05 AM


All times are GMT -6. The time now is 06:40 PM.


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