Forums

Promotion Slider
[resolved] Title Display (8 posts)

  1. calisurfhobie
    Member
    Posted 4 months ago #

    I figured out the way to put the title on the bottom right corner of the slider, inline with the short text but it hides behind the opacity. It is not clickable then. How do I move it in front of the opacity?

    Mark

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

  2. Micah
    Member
    Posted 4 months ago #

    You should be able to use the z-index css property to adjust which element appears in front of the other. A higher value means that element will be displayed in front of other elements with a lower value. Elements must have absolute or relative positioning for z-index to work.

  3. calisurfhobie
    Member
    Posted 4 months ago #

    Thanks a million.

    Great plugin, especially the setup on the back end, using the existing media gallery and a ton of customization.

    If you know css it is infinitely adjustable.

    PS
    Please make the transitions without the white "flashes". :)

  4. Micah
    Member
    Posted 4 months ago #

    I hear you loud and clear. I am actually in the middle of overhauling the entire plugin, with specific attention to the transitions.

  5. WP Monkey
    Member
    Posted 4 months ago #

    calisurfhobie How did you do that? I want to combine the title and excerpt text into a single box in the lower right of the slide.

  6. Micah
    Member
    Posted 4 months ago #

    @scdesmond - Technically, if you are strong with CSS you can make your desired change.

    However, I prefer to use the provided hooks to edit how / what content appears in the slider. I would start by removing the 'promoslider_display_title' and 'promoslider_display_excerpt' actions, then adding a custom function to generate the excerpt with the title included.

    If you are great with CSS, I suggest the former... if you are better with PHP, I suggest the latter. If you aren't great with either, then you will either have to provide a link to your slider so someone can help you figure it out, or you can hire someone to take care of it.

  7. WP Monkey
    Member
    Posted 4 months ago #

    I think that the custom PHP would work best, because ultimately I want to place a div around both the title and excerpt to style them in a single box. But looking at the PHP code, it is beyond my capacity and I'm working for a non-profit so I don't think we can pull in a programmer. The site is not yet released, so I can't list an URL.

    Again, any examples or specifics that can help get me closer would be much appreciated.

    Thanks

  8. Micah
    Member
    Posted 4 months ago #

    @scdesmond - The best thing you can do is look at the code that I used to insert the content into the slider. Look into functions.php in the includes folder in the plugin. The top of this file is where I use my actions to insert the slider content. You can use the 'remove_action' function to undo any of that and then 'add_action' to rebuild the slider any way you want.

    You can also read through the documentation for a better description of the available hooks and how to use them here: http://wordpress.org/extend/plugins/promotion-slider/faq/

Reply

You must log in to post.

About this Plugin

About this Topic