• Forum
  • FAQ
  • Docs
Notice: In order to post a support question you have to have an account and be logged in.
Register  or  Login
  1. I would like to add an image to the website just as the ones you see on the portfolio. I managed to get prettyPhoto to work, but I don't know how to add the rollover effect with the magnifying glass like the one you see on the portfolio.

    Can you help me?

    Thanks

    ebsalberto
    2 years ago
  2. Hi,
    this is the code:
    <a href="image link here" rel="prettyPhoto[gallery]" class="gallery-zoom" title="image title here"><img src="<?php bloginfo('template_directory'); ?>/images/icon_zoom.png" alt="" width="42" height="42" border="0"/></a>

    Try it and let me know if it works.

    Max
    2 years ago
  3. It didn't work.

    I've inserted it into the Home page and I've set it with the needed js

    <script src="js/jquery.js" type="text/javascript" charset="utf-8"></script>
    	<link rel="stylesheet" href="css/prettyPhoto.css" type="text/css" media="screen" charset="utf-8" />
    	<script src="js/jquery.prettyPhoto.js" type="text/javascript" charset="utf-8"></script>

    But nothing shows up

    ebsalberto
    2 years ago
  4. Hi,
    sorry for a late response. Would change the code to your needs and then I will post it here.

    Thanks for understanding.

    Max
    2 years ago
  5. Hi,
    sorry for a late response.
    Here is the code you need to use in order to get this done:

    <div class="gallery-list gl_col_4 row"><div class="gallery-item"><div class="gallery-image">
    <img src="your image here"  alt="" width="the width you want"
    height="the height you want" class="borderImg"/>
    <a href="your image here" class="gallery-zoom" rel="prettyPhoto[Gallery]"
    title="Todos os modelos são 100% customizáveis. Arraste, altere e remova blocos com o clique do seu mouse no Modo Design. Para os mais experientes, acesso total aos arquivos HTML e CSS para customizar o layout de sua loja online.">
    <img src="the way to the image folder/images/icon_zoom.png"
    alt="" width="42" height="42" border="0"/></a>
    </div></div></div>
    Max
    2 years ago
  6. I already made the changes.

    Max
    2 years ago
  7. Please don't make changes to my theme without my permission.

    I didn't like it and now I had to restore a backup to get things working again.

    ebsalberto
    2 years ago
  8. Sorry, I wouldn't do that.

    Max
    2 years ago

Add Reply

You must log in to post.

 

Add a new topic!

Chances are your issue is already answered, but if it’s not, you can always create a new topic.

Add new topic

Search forums

Searching for something specific? Type something and press Enter to search.