Adding Image to Footer

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
4 years ago
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 years ago
Where do I add the picture, is there a folder? nop 4.2
4 years ago
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 years ago
I don't know where to look, under the wwwroot? what are they called then? Thanks
4 years ago
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 years ago
I found wwwroot>images, then you can open, flags, sample, thumbs or uploaded
4 years ago
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 years ago
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 years ago
I can't even see this Views > Shared > Components > Footer > Default.cshtml
4 years ago
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.