This is fun menu that makes your images look like polaroid pictures and does a cool zoom effect when you hover over it:
This is done completely in CSS with no extra scripts added! Thanks to zurb.com for the code. This has been modified to copy & paste into TypePad.
1. Upload your images
The menu uses three images. Upload the images you would like to use to your File Manager. We sized our images to 100px so it only needs to load a small file size.
2. Add the HTML to your sidebar
In Design > Content, under Modules, select "Embed your own HTML" to add this new HTML module. Here you will enter the code for the menu:
Each of the three items in the menu has a list item:
<a href="http://www.example.com" title="My Family"> <img src="http://themes.typepad.com/images/polaroid-myfamily.jpg" /> </a>
The green URL is where you put the link for the page to go to when the image is clicked. The red title is the title that will appear under the picture. And the blue is the location of the image in the file manager.
3. Add the CSS
First, we'll want to make sure we have enough room in our sidebar. Here we are using the Two-Column-Right layout so we'll add this to our Custom CSS to change the column widths:
And then we'll add the CSS to make it fancy, in our Custom CSS area:
That's it! Enjoy!
Additional links to learn more
- css-tricks.com: How nth-child Works
Comments
You can follow this conversation by subscribing to the comment feed for this post.