How to change the header logo through code

Tagged: 

ThemeBurn SupportForumsOpenCart ThemesShoppica 2 OpenCart ThemeHow to change the header logo through code

This topic has been marked as not resolved.

High, I want to change the header logo but not with the admin. I am trying to change it for a subdomain and it will not work to use the admin. So what code can I edit to change the header logo?

Thanks,
John

May 6, 2014 at 9:18 pm #31773

Hello John,

Are talking about multistore? Multistores can have different logos by default.

If this is not your case, we need to take a look at the live example.

BR,
ThemeBurn team

May 9, 2014 at 10:25 am #31803

Basically, I have 2 domains:

collegebox.com
bfit.collegebox.com

so bfit.collegebox.com is a subdomain. I would like for that to have a different logo. I plan on making many subdomains for different universities across the country and want to use the university logos in these subdomain headers. For example, harvard.collegebox.com, yale.collegebox.com, ect.

I am not sure what a multistore is…

Could that be a better way to get this done?

Thanks,
John

May 9, 2014 at 2:34 pm #31814

I have just tried setting up a multistory but it seems difficult to get the new store to look exactly like the default since I have made many code edits to the default.

I would like to use the multistory feature but like I said, since it’s difficult to make the identical store just with a different logo, I think the best alternative is to make the subdomain, copy all of the files, and then just change the logo through the code.

Thanks,
John

May 9, 2014 at 3:10 pm #31815

Any answer on this. How to change the logo by changing the code? …not multistore. Just change the logo with the code

May 20, 2014 at 8:31 pm #31939
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
May 22, 2014 at 12:41 pm #31979

Thank you. I have replaced that code. Now how to I insert a different image for that subdomain?

Because there is only one administration site for all subdomains so I need to change the image of the logo through the code of this particular subdomain.

I have made the change you suggested but the image of the logo is still the same. Where can I put the different image that I have in mind?

Thanks,
John

June 1, 2014 at 5:21 pm #32138

Hi John,

Unfortunately, this method does not allow to insert a logo, through the administration area. You will have to manually upload logo files and then use the absolute image path.

http://site.com/image.jpg

BR,
ThemeBurn team

June 5, 2014 at 10:55 am #32210

So are you saying in this code:

<img src="LOGO_URL" title="” alt=”" />

Instead of using “LOGO_URL” I should use the absolute image path?

I understand that I must upload the logo file and use the image path but I unsure where to put that image path.

Thanks,
John

June 7, 2014 at 4:47 pm #32244

I really need to get this done.

can you answer this:

“So are you saying in this code:

Instead of using “LOGO_URL” I should use the absolute image path?

I understand that I must upload the logo file and use the image path but I unsure where to put that image path.

Thanks,
John”

June 13, 2014 at 5:48 pm #32306
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
June 17, 2014 at 7:38 pm #32340
Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.