YAFLogo

neda_sh
  • neda_sh
  • 54.2% (Neutral)
  • YAF Forumling Topic Starter
2017-08-11T15:11:22Z
hi

I want change logo image problem is that when I changed logo image it doesn't show forum correctly in Mobile

here default logo image is:250*125 but my image is 1007*141

what should I do that it will show correctly in Mobile?

best regards

neda

Sponsor
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.1
2017-08-13T18:11:49Z
If you mean the YafMobile theme, then you can override the logo from within the YafMobile.xml file...

- Simply add the logo to the desired theme folder, in that case in the YafMobile Folder.

- Add a new Resource to the YafMobile.xml file

<page name="FORUM">
<Resource tag="BANNER">~/yourlogo.jpg</Resource>
</page>

Restart the Application and you see the new logo.


UserPostedImage
neda_sh
  • neda_sh
  • 54.2% (Neutral)
  • YAF Forumling Topic Starter
2017-08-14T11:17:50Z
Originally Posted by: tha_watcha 

If you mean the YafMobile theme, then you can override the logo from within the YafMobile.xml file...

- Simply add the logo to the desired theme folder, in that case in the YafMobile Folder.

- Add a new Resource to the YafMobile.xml file

<page name="FORUM">
<Resource tag="BANNER">~/yourlogo.jpg</Resource>
</page>

Restart the Application and you see the new logo.

hi

I did

I add image to below address:

YAF-v2.2.4.2-Install\themes\Yafmobile

and add below code to yafmobile.xml:

~/forumlogotest.jpg

but again it show image that is in below address:

YAF-v2.2.4.2-Install

image that show in copmuter

Best Regards

Neda

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.1
2017-08-14T16:55:17Z
Of course in your computer it would show the regular logo. Only in the mobile theme that logo is used. If you like to change to logo for the regular theme and you need to change the cleanslate.xml file. And don't forget to restart the application.
UserPostedImage