Main Page Question

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 years ago
How i can Add Extra Picture+link Under Nivo Slider  or in any place in main page ?
thanks
5 years ago
esmhos wrote:
How i can Add Extra Picture+link Under Nivo Slider  or in any place in main page ?
thanks


Hello esmhos,

to add an image link to your home page you need to edit the following file:

~ Presentation\Nop.Web\Views\Home\Index.cshtml

If you want it right under the slider your markup should look something like this:


...
@await Component.InvokeAsync("Widget", new { widgetZone = PublicWidgetZones.HomePageTop })
<a href="#">
   <img src="#" alt="Alternate Text" />
</a>
@await Component.InvokeAsync("TopicBlock", new { systemName = "HomePageText" })
..


You can move it on downwards if you want it under other parts of the page, too.

Hope this was helpful.

Best Regards,
Valentin.
5 years ago
Thanks , I appreciate you helping me
4 years ago
You need to add the following code in your script.
I had also used this code in my website(pakistan tour packages | travelo) to set the images.

<div id="slider" class="nivoSlider">
  <img src="images/slide.1.jpg" alt="" />
  <a href="http://bindtuning.com"><img src="images/slide2.jpg" alt="" title="#htmlcaption" /></a>
  <img src="images/slide3.jpg" alt="" title="This is an example of a caption" />
  <img src="images/slide4.jpg" alt="" />
</div>

<div id="htmlcaption" class="nivo-html-caption">
  <h3>Any HTML can be used here</h3>
  <h6>Sample caption</h6>
</div>
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.