[Skip to main content](#vessel-content)

#   Text on image float over

##

- **[tandy](/forum/user/1122-tandy "View tandy's Profile")**
- [![tandy's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1122-tandy "View tandy's Profile") Topic Author
- [ Offline](/forum/user/1122-tandy)

Less More

- Posts: 27
- Thank you received: 0
-
-

15 years 7 months ago [\#11247](#11247) by [tandy](/forum/user/1122-tandy "View tandy's Profile")  *[Text on image float over](/forum/4-how-to/11247-text-on-image-float-over#11247 "Hello  Is it possible to make the image title / description appear on floatover of the image?  Thanks Mark")* was created by *[tandy](/forum/user/1122-tandy "View tandy's Profile")*

Hello

Is it possible to make the image title / description appear on floatover of the image?

Thanks
Mark

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzExMjQ3LXRleHQtb24taW1hZ2UtZmxvYXQtb3Zlcj90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

15 years 7 months ago [\#11248](#11248) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Text on image float over](/forum/4-how-to/11247-text-on-image-float-over#11248 "Hello  Is it possible to make the image title / description appear on floatover of the image?  Thanks Mark")*

Hi,
It might be possible with some CSS. Could you give more information regarding what you want to do ?
Do you have a link to the page where you want that ? What kind of float over would you like (maybe you could upload an image of what you want?)?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzExMjQ3LXRleHQtb24taW1hZ2UtZmxvYXQtb3Zlcj90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[tandy](/forum/user/1122-tandy "View tandy's Profile")**
- [![tandy's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1122-tandy "View tandy's Profile") Topic Author
- [ Offline](/forum/user/1122-tandy)

Less More

- Posts: 27
- Thank you received: 0
-
-

15 years 7 months ago [\#11266](#11266) by [tandy](/forum/user/1122-tandy "View tandy's Profile")  Replied by *[tandy](/forum/user/1122-tandy "View tandy's Profile")* on topic *[Re: Text on image float over](/forum/4-how-to/11247-text-on-image-float-over#11266 "Hello  Is it possible to make the image title / description appear on floatover of the image?  Thanks Mark")*

Hi Nicolas

The site is [ www.nazarethgifts.co.uk/](http://www.nazarethgifts.co.uk/)

I would like a short piece of text to appear on mouseover of an image. When I add an image there is the option to add a description, and it is this description that I would like to appear.

So, on the Pamper page, for example, as I look at the products, I want to be able to mouseover and read the brief description without having to go to the individual product page.

Thanks
Mark

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzExMjQ3LXRleHQtb24taW1hZ2UtZmxvYXQtb3Zlcj90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

15 years 7 months ago [\#11270](#11270) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Text on image float over](/forum/4-how-to/11247-text-on-image-float-over#11270 "Hello  Is it possible to make the image title / description appear on floatover of the image?  Thanks Mark")*

To do that, please go in the menu Display-&gt;Views and edit the file listing_img_title of the view product of your template. There, change the line:
&lt;a href="&lt;?php echo $link;?&gt;"&gt;

to:
&lt;a href="&lt;?php echo $link;?&gt;" title="&lt;?php echo $this-&gt;escape(strip_tags($this-&gt;row-&gt;product_description)); ?&gt;"&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzExMjQ3LXRleHQtb24taW1hZ2UtZmxvYXQtb3Zlcj90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[tandy](/forum/user/1122-tandy "View tandy's Profile")**
- [![tandy's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1122-tandy "View tandy's Profile") Topic Author
- [ Offline](/forum/user/1122-tandy)

Less More

- Posts: 27
- Thank you received: 0
-
-

15 years 7 months ago [\#11271](#11271) by [tandy](/forum/user/1122-tandy "View tandy's Profile")  Replied by *[tandy](/forum/user/1122-tandy "View tandy's Profile")* on topic *[Re: Text on image float over](/forum/4-how-to/11247-text-on-image-float-over#11271 "Hello  Is it possible to make the image title / description appear on floatover of the image?  Thanks Mark")*

Brilliant! Thanks! Have just upgraded that site to HikaShop Business too ![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzExMjQ3LXRleHQtb24taW1hZ2UtZmxvYXQtb3Zlcj90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[jakabistvan](/forum/user/13402-jakabistvan "View jakabistvan's Profile")**
- [![jakabistvan's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/13402-jakabistvan "View jakabistvan's Profile")
- [ Offline](/forum/user/13402-jakabistvan)

Less More

- Posts: 1
- Thank you received: 0
-
-

13 years 8 months ago -  13 years 8 months ago [\#88574](#88574) by [jakabistvan](/forum/user/13402-jakabistvan "View jakabistvan's Profile")  Replied by *[jakabistvan](/forum/user/13402-jakabistvan "View jakabistvan's Profile")* on topic *[Text on image float over](/forum/4-how-to/11247-text-on-image-float-over#88574 "Hello  Is it possible to make the image title / description appear on floatover of the image?  Thanks Mark")*

Works great! Is there a way to truncate this text so that it shows only the part of the description before the readmore tag?

Thanks!

FOUND THE ANSWER:
&lt;a href="&lt;?php echo $link;?&gt;" title="&lt;?php echo $this-&gt;escape(strip_tags(preg_replace('#&lt;hr *id="system-readmore" */&gt;#i','',$variant-&gt;product_description))); ?&gt;"&gt;

Last edit: 13 years 8 months ago by [jakabistvan](/forum/user/13402-jakabistvan "View jakabistvan's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzExMjQ3LXRleHQtb24taW1hZ2UtZmxvYXQtb3Zlcj90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.094 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
