This topic has 4 replies, 2 voices, and was last updated 10 years by mpitka.

  • Author
  • #8366
     mpitka
    Participant

    Hi!

    This topic is related to rtMedia, but may be very handy for all Sweetdate users. Does anyone know how to change that little “upload” -icon to a button, which gives much more attention and will increase user experience.

    Screenshot:

    https://www.dropbox.com/s/x29wffv244wq2a9/rt-upload.png

    Thanks!

    #8385
     SQadmin
    Keymaster

    Hi, you need to edit file templates to achieve this:

    1). Add the following lines in admin sweetdate/styling options/quick css box http://d.pr/n/UTi9

    2). Replace line 1132 in ../wp-content/plugins/buddypress-media/app/main/controllers/template/rt-template-functions.php with this http://d.pr/n/wTkZ
    3). Replace line 1408 and 1411 in ../wp-content/plugins/buddypress-media/app/main/controllers/template/rt-template-functions.php with this http://d.pr/n/6VOh

    ps1: Don’t forget to make a backup of rt-template-functions.php first.
    ps2: I already made the changes on one of our demos: http://seventhqueen.com/demo/sweetdatewp/members/sweetadmin/media/

    Best regards,
    Robert

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #8388
     mpitka
    Participant

    Hi!

    We may have different version of rtMedia. Because those lines will not match. Can you give me lines, so I search those 🙂

    And by the way. Do you know simple way to remove filename under the picture (i.ex. testpicture.gif). I think that there’s no more less useless information than filename in this case 😀

    #8433
     SQadmin
    Keymaster

    Hi, I attached rt-template-functions.php file for comparison: http://d.pr/f/TZIU

    To hide filename under the picture simply add in quick css this:

    COPY CODE
    
    .rtmedia-list-media .rtmedia-item-title { display: none; }
    

    Cheers.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #8437
     mpitka
    Participant

    it works well! The problem was that I had previous version of rtMedia and it didn’t have such lines. But now it works and that’s great!

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘How to change upload icon’ is closed to new replies.

Log in with your credentials

Forgot your details?