Tagged: cornerstone
-
AuthorPosts
-
April 26, 2016 at 6:27 pm #901166
I made a custom featurebox on my site philswallets.com by adding this as a text element.
How can I add some sort of hover effect so that customers know this is a clickable button? A color change on hover over would be nice, and some kind of slight zoom effect combined with it would be even nicer.
April 27, 2016 at 8:35 am #902136Hi there @philkop,
Thanks for writing in!
You can change the color on hover by adding custom CSS like this:
.home .x-icon.x-icon-icon-name:hover { color: #000000; }
In your customizer > custom > CSS.
Where icon-name is the name of the icon, if you can link me to the page in question, I’d be happy to provide the specific CSS required. 🙂
Thank you!
April 27, 2016 at 10:57 am #902449The icon is on my homepage http://www.philswallets.com/#makers
I actually saw that CSS through another forum post and tried it before posting here. It wasn’t working for me, but I may have used the wrong name.
I was using the name of the icon itself, which in this case is “Cut” for the scissor graphic.
April 27, 2016 at 8:42 pm #903302Hello There,
Thanks for the updates. Please have the code updated and use this instead:
.home .x-icon-cut:hover { color: #000 !important; border-color: #000 !important; }
Hope this helps. Please let us know how it goes.
April 28, 2016 at 1:15 pm #904484Thanks dudes! Looks great, and I learned something here.
I had a small issue a few weeks back that didn’t really bother me enough to pursue, but it was also fixed by adding the !important; tag to it.
As always, thanks for the quick and detailed service. I’ve recommended a few friends to X theme already, and one of them is about to get his second license. You guys rock!
E: While I have a post open, maybe you could explain how the animation in that icon is working exactly.
It looks like it plays the first time you view the item. Would there be a way to have this continue to play afterwards every 5 seconds or so?
April 29, 2016 at 4:01 am #905350Hi,
Thanks for recommending us.
It’s just a simple change of color and border color on mouse hover.
Regretfully, at this time I am not entirely certain what it is you would like to accomplish based on the information given in your post. If you wouldn’t mind providing us with a little more clarification on what it is you’re wanting to do (perhaps some screenshots), we’ll be happy to provide you with a response once we have a better understanding of the situation.
-
AuthorPosts