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

XF 1.3 How to change XF ACP Logo?

Discussion in 'XenForo Questions and Support' started by xIsabel38, Aug 19, 2014.

  1. xIsabel38

    xIsabel38 Well-Known Member

    Quick question:

    Where is the style property that controls the location of the XenForo logo when logging into ACP?

    acplogin.png
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    styles/default/xenforo/XenForo.png
     
    SilentGround likes this.
  3. xIsabel38

    xIsabel38 Well-Known Member

    That's the location of it, where is the style property though so I can point it to my own logo?
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    There isn't one.

    Overwrite the file.
     
  5. xIsabel38

    xIsabel38 Well-Known Member

    But I'd have to throw in a logo and call it "XenForo.png". There has to be some code calling to that position.
     
  6. Ernest L. Defoe

    Ernest L. Defoe Well-Known Member

    Not hard to replace the logo with your own named XenForo.png.
     
  7. xIsabel38

    xIsabel38 Well-Known Member

    Yes yes, I know you can simply replace a logo. I'm asking where is the coding that controls it though. It doesn't just magically appear on a page, there has to be some code written somewhere that calls to that location.
     
  8. Ernest L. Defoe

    Ernest L. Defoe Well-Known Member

    It could be hard coded in the php files. Not sure but I would just rather rename an image than to be digging around into the php files. I remember the days of having to do that to install addons and I always seemed to have messed something up.
     
  9. xIsabel38

    xIsabel38 Well-Known Member

    If it's hard coded into the php files then yes you're right. I'd rather simply overwrite the existing logo instead. I was hoping it was just in some simple style property setting.

    Do you know if the xenforo logo when you're in the ACP is hard coded also?
     
  10. Ernest L. Defoe

    Ernest L. Defoe Well-Known Member

    As @Brogan has stated there isn't a style property of the AdminCP logo he suggests just overwrite the file.
     
  11. xIsabel38

    xIsabel38 Well-Known Member

    I know what he said, I saw it. I'm was asking about the little one when you're already inside the ACP. There's XenForo.png and XenForo-small.png.

    Regardless nevermind.
     
  12. Chris D

    Chris D XenForo Developer Staff Member

    Have you not been editing the Admin Templates already to get the login form looking like it does in your screenshot?
     
  13. xIsabel38

    xIsabel38 Well-Known Member

    No, it's an add-on.
     
  14. Chris D

    Chris D XenForo Developer Staff Member

    Fair enough.

    As well as the solution that has already been provided (replace the file with your own), you could also edit the Admin Template.

    Admin Templates are only visible with Debug mode enabled.

    Admin Templates don't have any sort of versioning / style system such as public templates. This basically means that any changes you make to Admin Templates would be overwritten during XF core upgrades. So the easiest thing to do here would be to create an Admin Template Modification. Admin Template Mods should remain active across upgrades as long as the content of the template doesn't change considerably.

    The admin template is LOGIN_PAGE.

    You should be able to find ..\XenForo.png and replace that file path with the path to your own logo.
     
    xIsabel38 likes this.
  15. xIsabel38

    xIsabel38 Well-Known Member

    @Chris D, thank you so much. The fact that you actually took the time to explain things is very considerate and helpful. I sent a small donation your way just because. Note: I'm not buying whatever add-on it was that I clicked on.

    PS-
    acplogin.png
     
  16. rafass

    rafass Well-Known Member

    How can I change the logo of Xenforo in my ACP bookmarked in mobile devices like this:
    [​IMG]
    I have already my own logo in my ACP, but bookmarked still show the Xenforo logo, any idea how to change it?
    thanks!
     
  17. Brogan

    Brogan XenForo Moderator Staff Member

  18. rafass

    rafass Well-Known Member

    No, I mean, when you want bookmark your ACP in the home screen of your device.
    Still show the Xenforo Logo. (in the home screen of your device)
    There are some way to change it?
     
  19. rafass

    rafass Well-Known Member

Share This Page