WordPress.org

Forums

Promotion Slider
Thumbnail Nav With Title (3 posts)

  1. daijiaoking
    Member
    Posted 2 years ago #

    Is there anyone know how to add the post title next to the thumbnail navigation? Example: the main slideshow of this site: http://www.amway.my/

    http://wordpress.org/extend/plugins/promotion-slider/

  2. Micah Wood
    Member
    Plugin Author

    Posted 2 years ago #

    You can actually achieve this with some simple css:

    .promo_slider . thumb_nav img:before {
        content: attr(alt);
    }

    This will display the titles before the images, but will require additional styling to get things to appear the way you want.

  3. daijiaoking
    Member
    Posted 2 years ago #

    Thank you Micah Wood!

    I just try your suggestion, which using content property to retrieve the alt of the thumbnail... but too bad, it doesn't work for img element.

    Anyway, i just solved this problem using javascript. I use array to store the alt attribute of the images, then insert the value as title of the thumbnail.

    Thanks again for your replied and suggestion. Thank you.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Promotion Slider
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic