Adding Image to Footer

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Hace 4 años
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
Hace 4 años
Where do I add the picture, is there a folder? nop 4.2
Hace 4 años
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.
Hace 4 años
I don't know where to look, under the wwwroot? what are they called then? Thanks
Hace 4 años
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" />
Hace 4 años
I found wwwroot>images, then you can open, flags, sample, thumbs or uploaded
Hace 4 años
I've clicked and dragged it to the uploaded file now. Assume that will be ok, then what do i do? Thanks in advance
Hace 4 años
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.
Hace 4 años
I can't even see this Views > Shared > Components > Footer > Default.cshtml
Hace 4 años
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.