- This topic is empty.
-
AuthorPosts
-
August 29, 2012 at 10:28 pm #39573
ddfashionsquare
MemberHi,
I’m hoping some one out there can help me! I have a great looking anything slider on my web site home page, but I have’t figured out how to add a link to it that’ll take a customer to another location on the site. The slider was built into the template I purchased and I’m really trying to make the most of it. When a customer clicks on the slide advertising Animal Themed Jewelry, it does nothing. I need the click to take my customer to the Animal Themed Jewelry category of my site.I’m grateful for any help anyone can offer.
August 29, 2012 at 11:03 pm #108719JosiahB
MemberI would need to see a link to you site to give you assistance
September 2, 2012 at 1:46 pm #108925ddfashionsquare
Membersure, thank you!
http://www.ddfashionsquare.comSeptember 2, 2012 at 2:46 pm #108931Mottie
MemberHi ddfashionsquare!
It looks like you’re just using images inside of the slider. If you add some css and wrap the image in a link, it will start doing what you need it to do. Here is the css you’ll need:
#slider a img { width: 100%; height: 100%; }
and the HTML
I only added a link around the animal theme image since it seemed that I used the correct URL. I didn’t try any of the others, but that should give you an idea of how it works.
September 2, 2012 at 7:22 pm #108942ddfashionsquare
MemberThat’s great, thank you! I’m going to work with it now and will let you know how it turns out :)
September 2, 2012 at 7:35 pm #108943ddfashionsquare
MemberIt worked, but since I stink at understanding CSS, I didn’t do anything with the CSS code you gave me. Is it necessary?
Thanks again!
September 2, 2012 at 7:56 pm #108944Mottie
MemberIt just makes the image the same size as the slider… so up to you.
September 2, 2012 at 8:09 pm #108945ddfashionsquare
MemberAny idea where in the CSS I’d put the code? Looks like I need it.
/******* SET DEFAULT DIMENSIONS HERE ********/
div.anythingSlider {
position: relative;
display: block;
margin: 0 auto 1px;
overflow: hidden; /* needed for Opera and Safari */
}/**** DO NOT CHANGE BELOW THIS LINE ****/
/* anythingSlider viewport window */
div.anythingSlider .anythingWindow {
overflow: hidden;
position: relative;
width: 100%;
height: 100%;
top:-3px;
}/* anythingSlider base */
.anythingBase {
background: transparent;
list-style: none;
position: absolute;
top: 0;
left: 0;}
.anythingBase .panel {
background: transparent;
display: block;
overflow: hidden;
float: left;September 3, 2012 at 1:53 am #108950Mottie
MemberAdd it anywhere… at the top is fine.
September 3, 2012 at 1:13 pm #109160ddfashionsquare
MemberIt worked. Thank you :)
-
AuthorPosts
- The forum ‘CSS’ is closed to new topics and replies.