 Kermit Woodall
|
Is it possible to replace the CSS/HTML generated slideshow button with a graphic? How would i do that if so?
Thanks!
|
 Marcel
|
Try to add this to your (child)theme style.css
a.lg_slideshow_button,
a.lg_slideshow_button:hover,
a.lg_slideshow_button:visited {
background: transparent url('slides.png') no-repeat !important;
padding: 16px !important;
margin: 0px !important;
font-size:0px !important;
border: none !important;
color: transparent !important;
text-decoration: none;
border-radius: 0px !important;
}
This is for a 32×32 pixel image.
You need all the !important bits because the lazyest-stylesheet loads after the theme stylesheet.
|
 Kermit Woodall
|
Thanks. That works pretty well except the button is about 15px higher than the text was. How would I move it back down?
K
|
 Marcel
|
try to add margin-top: 20px;
to the rules above. Or any other number instead of 20 that suit your needs.
|
 Marcel
|
try to add margin-top: 20px;
to the rules above. Or any other number instead of 20 that suit your needs.
|
 Kermit Woodall
|
I tried that and it doesn’t change anything. You can see it at http://aday.kermitwoodall.com/portfolio/bridegroom/
K
|
 Developer
|
This should work:
.thumb_images div.buttons {
margin-top:20px;
}
|
 Kermit Woodall
|
That did it. Thanks!
Kermit Woodall
http://kermitwoodall.com
|