How to add reflection effect to the picture

  • info@fkcomsys.ch
  • Topic Author
  • New Member
  • New Member
More
13 years 2 months ago #14863 by info@fkcomsys.ch
How to add reflection effect to the picture was created by info@fkcomsys.ch
Hi,
where do I write it down -- class="reflect" --

thanks for an answer!

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
13 years 2 months ago #14882 by milos
In the image tag. Switch your editor to HTML mode. Image's code is something like:
Code:
<img src="..." width=".." height=".." alt="some text" />

Add class like this:
Code:
<img src="..." width=".." height=".." alt="some text" class="reflect" />

Please Log in to join the conversation.

  • info@fkcomsys.ch
  • Topic Author
  • New Member
  • New Member
More
13 years 2 months ago #14890 by info@fkcomsys.ch
Replied by info@fkcomsys.ch on topic Re: How to add reflection effect to the picture
Hello Milos, really easy if what man knows how. Thank you,
and still another question.

Can I set up Hot-Weather Module for Switzerland / Lucerne, what parameter?

Thanks

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
13 years 2 months ago #14896 by milos
You can get ID for your city here www.weatherlet.com . I think for Lucerne it is SZXX0021

Please Log in to join the conversation.

  • info@fkcomsys.ch
  • Topic Author
  • New Member
  • New Member
More
13 years 2 months ago #14910 by info@fkcomsys.ch
Replied by info@fkcomsys.ch on topic Re: How to add reflection effect to the picture
Hi Milos, thank you! You are awesome. I'm really joyful and once the website is finished I will send them the link, thank you greeting many times, Fredy

Please Log in to join the conversation.

More
13 years 2 months ago #15273 by jenkisan
Just to pick up on this topic quickly.

How do I go about adding reflect class to a product image of vm?

I narrowed it down to the product details php page and this div (I want to add it only to the first image of the product detail page):
Code:
<div class="main-image"> <?php echo $this->product->images[0]->displayMediaThumb('class="product-image"',true,'class="modal"'); ?> </div>

If I replace class product-image with reflect I see the reflection effect but the image moves to the left. I also tried adding both classes such as class="product-image reflect" but it only reads the first one.

Any suggestions?

Merci.

Please Log in to join the conversation.

Time to create page: 0.170 seconds
Powered by Kunena Forum