Adding Image to Footer

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