1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Post Private Controls with title?

Discussion in 'Styling and Customization Questions' started by bogus, Jul 27, 2012.

  1. bogus

    bogus Guest

    I would like to know how i can change the Private Control "delete" as Title on hover.

    I want to change the Text into an Image which i will add with css a.delete but want the delete Text {xen:phrase delete} as Title on hover

    I´ve tried this, but´s not working
    Code:
    <xen:if is="{$post.canDelete}"><a href="{xen:link posts/delete, $post}" class="item control delete OverlayTrigger" title="{xen:phrase delete}" /></a></xen:if>
    Template is post and here´s the original part of code.
    Code:
    <xen:if is="{$post.canDelete}"><a href="{xen:link posts/delete, $post}" class="item control delete OverlayTrigger"><span></span>{xen:phrase delete}</a></xen:if>
    Thanks for your help
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Your "a" tag has nothing inside it so there is probably nothing to mouse over to trigger the title. You need something inside, like an "img" tag for your image.
     
  3. bogus

    bogus Guest

    I guess i know what you mean but... well, i will give i try also if i dont know yet how to ;)


    Got it. Dead easy, if you know ;)
    Code:
    <xen:if is="{$post.canDelete}"><a href="{xen:link posts/delete, $post}" class="item control delete OverlayTrigger"><img src="styles/folder/thread/thumb_up.png" title="{xen:phrase delete}" /></a></xen:if>
    Thanks Jake for your help
     
  4. bogus

    bogus Guest

    Ok, i got it at the End.
    Thats how my Posts look like now. Bit more structure
    Thread_new.png

    Thanks a lot to everyone who helped me ;)
     

Share This Page