Changing Background On Vendor Panel?

Hello,

Simple question, I'm looking to change the grey background (labelled 'this' http://imgur.com/hxJThMG ) to a background image of my personal choosing. Is this possible, if so, how could I go about doing this?

Many thanks in advance!

Use any hook in the admin skin and add the following code:

{if $smarty.const.ACCOUNT_TYPE == 'vendor'}

html body {
    background: url(path_to_image) #ccc;
}

{/if}

Hello!

Use any hook in the admin skin and add the following code:

{if $smarty.const.ACCOUNT_TYPE == 'vendor'}

html body {
    background: url(path_to_image) #ccc;
}

{/if}

Is the admin skin file your referring to ( public_html/design/themes/responsive/css/styles.less )?

I followed your instructions in this thread to do it with my_changes . But I don't know how a hook looks, does the hook name matter?I don't understand what you mean by "use any hook in the admin skin" , could you please clarify this?

Many thanks in advance

For admin skin, please use the following template:

design/backend/templates/addons/my_changes/hooks/index/main_content.post.tpl

Do not forget to clear cache

For admin skin, please use the following template:

design/backend/templates/addons/my_changes/hooks/index/main_content.post.tpl

Do not forget to clear cache

Beautiful. Works like a charm. THANK YOU SO MUCH!!

So proud to have the name I do :)

+1

You are welcome!

I've ran into an issue when trying to change the background image on vendor panel to a different image which is in the same folder that the previous background image was in.

I've made the following changes to my code at design/backend/templates/addons/my_changes/hooks/index/main_content.post.tpl as seen in this screenshot : http://imgur.com/gNZ6Gul, but for some reason the site is continuing to use the old code with url to old backround image (sd-backround.jpg) instead of using the url to new background image (ouanxjl.jpg) as you can see in the vendor.php source code (http://imgur.com/MvpF170)

This is occurring in spite of having cleared the cache on both server and browser.

Does anyone have a clue as to what could be going wrong?

As always, your help is most appreciated,

Many thanks!

Try to use absolute URL. E.g.

background: url(https://domain.com/image_name.jpg) #ccc;

I've ran into an issue when trying to change the background image on vendor panel to a different image which is in the same folder that the previous background image was in.

I've made the following changes to my code at design/backend/templates/addons/my_changes/hooks/index/main_content.post.tpl as seen in this screenshot : http://imgur.com/gNZ6Gul, but for some reason the site is continuing to use the old code with url to old backround image (sd-backround.jpg) instead of using the url to new background image (ouanxjl.jpg) as you can see in the vendor.php source code (http://imgur.com/MvpF170)

This is occurring in spite of having cleared the cache on both server and browser.

Does anyone have a clue as to what could be going wrong?

As always, your help is most appreciated,

Many thanks!

It can be incorrect path to image.

Try to use absolute URL. E.g.

background: url(https://domain.com/image_name.jpg) #ccc;

Unfortunately that didn't work. This problem is very strange to me, I even deleted sn-backround.jpg, and renamed new backround sn-background.jpg, yet it's still using the old backround?

The other mystery which i'll mention as it may may tie into this, I have a styles.post.tpl in the same folder of main_content.post.tpl (design/backend/templates/addons/my_changes/hooks/index/) with no code in it. However if this file is deleted the vendor.php page wont load, it will just display a blank white screen.

Any ideas what the issue might be?

Many thanks

Unfortunately that didn't work. This problem is very strange to me, I even deleted sn-backround.jpg, and renamed new backround sn-background.jpg, yet it's still using the old backround?

The other mystery which i'll mention as it may may tie into this, I have a styles.post.tpl in the same folder of main_content.post.tpl (design/backend/templates/addons/my_changes/hooks/index/) with no code in it. However if this file is deleted the vendor.php page wont load, it will just display a blank white screen.

Any ideas what the issue might be?

These issues can be caused by cache. Please PM me temporary FTP access so that we can check it