Restaurant Website and Gallery Template

Today we want to share a little website experiment with you. The theme for today’s template is a restaurant website which will include an image gallery for the menu and […]

Today we want to share a little website experiment with you. The theme for today’s template is a restaurant website which will include an image gallery for the menu and an integrated Google map that shows the location.

The great food photography is by avlxyz and you can find his Flickr photostream here.
The license for these pictures is the Attribution-NonCommercial-ShareAlike 2.0 Generic License.

The main homepage photo of Venice at night is by krossbow, be sure to check out his Flickr photostream.

When coming to the homepage, the background image will fade in and we will see the first welcome content block:

When the user clicks on “Our Menu”, a little thumbnails gallery will appear in the content area:

Choosing a dish from the thumbnails gallery, will open the fullscreen gallery, that shows the dish image with a title and a description and the same image as background. Using the navigation arrows on screen, the left/right keyboard arrows, or the scrolling wheel of the mouse, the user can slide the images. The title and description will animate back behind the foreground image during the sliding.

When clicking on the foreground image, it will disappear and the background will become more bright. Now, the user can view the fullscreen image and navigate through them the same way. Clicking on the background will bring us back the foreground gallery element.

When we click on the cross on the top right corner, we will leave the image gallery.

The menu point “Visit us” will hide the content box and show a google map as the background of the whole page:

And that’s it! We really hope you liked this template idea and find it useful!

Tagged with:

Manoela Ilic

Manoela is the main tinkerer at Codrops. With a background in coding and passion for all things design, she creates web experiments and keeps frontend professionals informed about the latest trends.

Stay up to date with the latest web design and development news and relevant updates from Codrops.

Feedback 170

Comments are closed.
  1. This is not only great work, this is awesome! I’m blown away by the contact page. It is so pretty *bling*

  2. hi,
    it is a great tutorial. after clicking on the cross, the default background image is shown. but when we use wheel of mouse we can navigate through our menu’s images. is it a bug?

    • Thank you all for your great feedback!

      @karakolum thanks for noticing 😉 already fixed!

      Cheers, ML

    • Hi JPeeze! You can change the location of the map in the jquery.template.js file in line 23, 24 and 25 by setting your latitude and longitude (and the name that will be displayed). On this page you can get the right values given an address:
      Don’t forget to minify the JS again because that’s the one we are including (or include the normal one, line 122 in the index.html).
      Hope it helps,

  3. Epic! – Playing around with the Google map, I cannot figure out how to set the cords. Anyone have success changing the location?

  4. Thank you for releasing this ‘should-be-a-premium’ template for free. Yeah you’ve made us addicted.

  5. You did all the great stuff. I am addicted of your site. Thanks for sharing amazing stuffs.

  6. Once again fantastic!
    I hope you don’t mind if I use this in some projects…

    Your jQuery code is truly amazing! (You must be a true jQuery Ninja) I am learning a lot from simply reading it…

  7. AWESOMENESS IS THE WORD.! Mary are U married? 😀 Just kidding!

    U are really doing a great job by creating such tutorials. After going through all this i feel that I’m Level up now. I discovered this website yesterday ! And I went through each and every post of yours. You are a 1 man show, Sorry I meant to say 1 woman show 🙂 !

    God Bless You!

    I’m really Grateful! ^:)^

  8. Wow, very nice! I can see any site that wants to show off a product wanting this, not just restaurants.

  9. Congratulations for your wonderful work. I have one question: If I wanted to add a new menu item. For example: Our Clients and wanted to display the flag of each one of them would have to change something on. js?

  10. Thank you very much! It is so awesome! I try something in vain: I wish I could change the background of the container for each li of the navigation. Could you help me?

    Many thanks again!

    xxx from Paris

  11. hi, thank you for sharing so much work. I tried the demo site on the iPad, the menu hilights but the page doesn’t change.

    Keep up the wonderful work.

  12. Hi….
    What I wanted to ask is how you can modify this template Restaurant website. I’m used to modify XML files for Flash sites, but not this kind of templates.
    How do you do to change the template Rfestaurante?
    I hope to answer.

  13. You are by far one of my favorite coders/designers. You inspired me so much.
    Thank you very much Mary. This is a really nice and well done template.
    I think I would like to change the background image for each page as well.

  14. Dear Mary-Lou, I have been testing and learning all the day long with this template and I do really appreciate it !!

    Another challenge : I try now something else that I cannot achieve: I put a lot of text in one content (for the Home page) . The bg image of the container remains static but the content is too long and its bottom is cut on my screen (except with F11 that does not work on Safari) and it won’t show any vertical scroll neither. I tried to add a scroll with an overflow on the CSS page, but it did not work neither. Could you give me a clue?

    Thank you!

  15. Found ! I changed the position (absolute instead of fixed) and now I am happy !

    A vertical scroll appeared and I can read the content text of each page. Good !

    Thanks again Mary Lou for the excellent tutorials you provide !

  16. Absolutely Breathtaking! is the only thing i’ve to say, congratulations one more time, high level posts!

  17. Awesome !

    I love this template and realy like the photo gallery.

    Excellent work ! Keep it up !

  18. this is a truly awesome concept. the jquery animation really compliments the sweet photography on show.
    I Love it!

  19. Thank you so much for this template!

    Is there a way to make the thumbnails open to its own gallery?

  20. Is it possible to change the background on the other sites ( for examble: About us) too?

  21. Wow, very generous for you to code this and give it out to the community. Way to give back.

  22. Really a very good work, my best compliments and regards Mary…
    Thanks’ for share all your works.