Adding Image to Footer

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
4 anni tempo fa
Andy007 wrote:
I need to add credit card logo's to nopcommerce or worldpay won't let me go live, how can I do that, I didn't understand this on here


Hi,

You can modify the Presentation\Nop.Web\Views\Shared\Components\Footer\Default.cshtml file.

In case you are using a theme that overrides this file, this file location could vary.

Best regards,
Todor
4 anni tempo fa
Where do I add the picture, is there a folder? nop 4.2
4 anni tempo fa
You can upload picture from any RichEditor field. Copy that uploaded image url and then write html code in Views > Shared > Components > Footer > Default.cshtml file.
4 anni tempo fa
I don't know where to look, under the wwwroot? what are they called then? Thanks
4 anni tempo fa
Yes, you can save those files inside wwwroot folder.
Let you saved that in wwwroot > images > myFolder directory. Then write html code like below in Views > Shared > Components > Footer > Default.cshtml file.

<img src="http://yoursite.com/images/myFolder/myImage.ext" />
4 anni tempo fa
I found wwwroot>images, then you can open, flags, sample, thumbs or uploaded
4 anni tempo fa
I've clicked and dragged it to the uploaded file now. Assume that will be ok, then what do i do? Thanks in advance
4 anni tempo fa
Put your image inside wwwroot > images > uploaded folder. Let your picture file name is Untitled.png. Then add this HTML code in Views > Shared > Components > Footer > Default.cshtml file.

<img src="/images/uploaded/Untitled.png" />


Note: you can put in any those folders (flags, sample, thumbs or uploaded). Even you can create a new folder. In that case you need to change image source path (src) in HTML code.
4 anni tempo fa
I can't even see this Views > Shared > Components > Footer > Default.cshtml
4 anni tempo fa
Have a look on designer's guide of nopCommerce. Read the full documentation first. It will help you to customize nopCommerce themes.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.