-
AuthorPosts
-
August 13, 2014 at 3:10 pm #83974
Hi there-
Are there any animations you can add in x theme?
My url is: http://zachswebdesigns.com
I want the images that lead you to the pages on my home screen to enlarge when you hover over them. This features is included in the demo of customizr. Is there a way to add this? (custom css or something)
Thanks!
Also, I wanted to thank everyone in the forum (especially the support people).
I use it so much and I always get my problem solved. Thanks again!August 13, 2014 at 3:21 pm #83987Hey Zach,
You can enlarge the images on hover by adding the Custom CSS via Customizer. Just for an example you can do it like this.
img:hover {
width: 150%; /* If originally it was 100% */
}Also you can use the CSS transition property to give it a good animation feel.
Let us know if you need any further assistance on this.
August 13, 2014 at 3:33 pm #83999What is the transition property?
August 13, 2014 at 3:35 pm #84002Also, I want it only on select images
August 13, 2014 at 3:48 pm #84017Hey Zack,
Here is an example with transition property:
img:hover { width: 100px; height: 100px; -webkit-transition: width 2s; /* For Safari 3.1 to 6.0 */ transition: width 2s; }
Give the images a separate class and apply this CSS on it. This will ensure only those images will get animated for which you have given a class.
August 13, 2014 at 4:54 pm #84069Hi again-
How do I give the image a separate class?
August 13, 2014 at 5:02 pm #84072Hey Zach,
You can give an image a class like this:
<img class="my-class" src="/path/" alt="" />
You will need to switch from visual editor to text editor to do this.
August 13, 2014 at 5:19 pm #84082This reply has been marked as private.August 13, 2014 at 5:27 pm #84084Hey Zach,
Define images like this in text editor
<img class="my-class" src="/path/" alt="" />
then use this class in customizer to add CSS code like this:
.my-class:hover { width: 150%; height: 150%; -webkit-transition: width 2s; /* For Safari 3.1 to 6.0 */ transition: width 2s; }
Hopefully this explains better!
-
AuthorPosts