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

XF 1.2 User Ranks with Images

Discussion in 'XenForo Questions and Support' started by Jefferson Filho, Jul 6, 2013.

  1. Jefferson Filho

    Jefferson Filho Active Member


    I know that have many topics talking about this subject, but none of them could solve my problem!
    With the version 1.2 you can customize your own rank images with css class, but the problem is that I can't just put a image without any text and never show the whole image! Here is a picture of the problem.


    So i would like to know how to remove the text and make the image show the full size.

  2. Chris D

    Chris D XenForo Developer Staff Member

    You can "hide" the text by adding this to the CSS class:

    text-indent: -10000em;
    Jefferson Filho and Shelley like this.
  3. Jefferson Filho

    Jefferson Filho Active Member

    Thank you! How about the image size? Its seems it increase depending how big is the text.
  4. Shelley

    Shelley Well-Known Member

    With regards to your other issue you will need to provide a link to the page/your site so that anyone bumping into this thread willing to help can debug the problem. I'd suggest judging by the screenshot that you look at the standard xf banners to see how they are displayed since I'm quite sure you may be missing quite a lot of css to get it to display.
  5. Jefferson Filho

    Jefferson Filho Active Member

  6. Shelley

    Shelley Well-Known Member

    getting an error when clicking the link
  7. Jefferson Filho

    Jefferson Filho Active Member

    Hi, what kind of error?
  8. Shelley

    Shelley Well-Known Member

    Add in display: block;
    Jefferson Filho likes this.
  9. Jefferson Filho

    Jefferson Filho Active Member

    Awesome! Fixed! I will make a quick tutorial then for people in future who has the same trouble as me can do it! I will add the credits for people who helped me!
    Shelley likes this.
  10. Shelley

    Shelley Well-Known Member

    No need to credit me :) That will be your resource and you will have earned the credit for that. Look forward in seeing you post this into the resource manager which I'm sure will be beneficial to many people. :)

    edit: excellent work on the design of those ranks, they look really good (y)
    Jefferson Filho likes this.
  11. Jefferson Filho

    Jefferson Filho Active Member

    Thank you but I will do anyway :p

    Thanks! I was thinking to provide them for free after I finish them all ;)
    Shelley likes this.

Share This Page