WordPress.org

Ready to get started?Download WordPress

Forums

WP-Filebase Download Manager
[resolved] Change "simple" template style (2 posts)

  1. nerik73
    Member
    Posted 1 year ago #

    Hi,

    I would like to change the appearance of the simple template (single file).

    I've tried changing this line inside "setup.php" (line 56) from:

    'simple' => '<p><img src="%file_icon_url%" style="height:20px;vertical-align:middle;" /> <a href="%file_url%" title="Download %file_display_name%">%file_display_name%</a> (%file_size%)</p>'

    to:

    'simple' => '<p><img src="%file_icon_url%" style="height:20px;vertical-align:middle;margin-right:3px;float:left;" /> <a href="%file_url%" title="Download %file_display_name%">%file_display_name%</a> (%file_size%)</p>'

    but it seems it's not read from php when functions are rendering html (I'm continuing to see: ...style="height:20px;vertical-align:middle;"...only, without my margin and floating rules).

    Where have I to modify code in order to obtain the changes I need in style?

    Thank you!

    http://wordpress.org/extend/plugins/wp-filebase/

  2. nerik73
    Member
    Posted 1 year ago #

    Ok, I found template management inside plugin menu!!!

    I have to change settings there.

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.