Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7935953
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T22:04:15+00:00 2026-06-03T22:04:15+00:00

With some help from users of this site, I’ve managed to put together this

  • 0

With some help from users of this site, I’ve managed to put together this gallery page.

You’ll see on the example page that I’m using a cross to allow a user to delete the image. The problem I’m encountering is in trying to change the icon to the jQuery UI ‘trash’ icon. I’ve found the icon in question which is .ui-icon-trash but I can’t find any instructions on how to implement this into my page.

The piece of code which deals with the icon is as below:

 .galleria-thumbnails .btn-delete {    
          display: block;  
          position: absolute; bottom : 0px;   
          width: 80px;     
          height: 80px;    
          cursor: pointer;     
          background: url(cross.png) no-repeat bottom; } 

I’ve tried changing url(cross.png) to url(.ui-icon-trash) and to url(class=.ui-icon-trash) without any success. I also, if possible like to centre the icon as opposed to it’s current position of off-centre.

I just wondered whether someone could perhaps have a look at this and let me know where I’m going wrong.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T22:04:16+00:00Added an answer on June 3, 2026 at 10:04 pm

    You cannot do this, you must use HTML code like this :

    <span class="ui-icon ui-icon-trash"></span>
    

    This will display the trash icon.

    There isn’t a “trash” picture as an icon file. All the icons are stored in one big “sprite” picture file, and then some CSS rules are applied to display only the requested icon.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I wonder whether someone can help me please. I've put together this page which
cowboy coder needs some help from SO-veterans: I have a given application that uses
Need some help from javascript gurus. I have one page where http://www.google.com/finance/converter is embedded
I managed to get some help from a previous question and I have the
Can I have some help in improving this linq. I'm basically returning speakers from
Can anybody help me with retrieving some elements from the following example text: sdfaasdflj
I have code examples from some of my previous work that help me to
Good morning! I would like to ask some help from you guys on how
I'm back with another Flex/Flash security question. I've already received some help from the
With some kindly help from StackOverflow, I've got Unity Framework to create my chained

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.