Adding Paypal financing banner HTML

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
11 năm cách đây
https://financing.paypal.com/docs/Web_HowtoGuide.pdf

Where would I paste the html for this. We want it to show up in the header between our logo and search box.

thanks
11 năm cách đây
Views \ Shared \ Header.cshtml

you'll want to stick it into a div tag that has style="float:left" directly underneath the div tag that looks like
    <div class="header-logo">
        <a href="@Url.RouteUrl("HomePage")" class="logo">&nbsp; </a>
    </div>


so something like...

    <div class="header-logo">
        <a href="@Url.RouteUrl("HomePage")" class="logo">&nbsp; </a>
    </div>
    <div style="float:left">...banner code here...</div>
   <div class="header-links-wrapper">...etc
11 năm cách đây
Great, thanks I'll try that as soon as boss gives me the html. It's for nop 2.30 if that makes a difference. Should be easy enough as soon as I locate that file.
11 năm cách đây
mmeowcusa wrote:
Views \ Shared \ Header.cshtml

you'll want to stick it into a div tag that has style="float:left" directly underneath the div tag that looks like
    <div class="header-logo">
        <a href="@Url.RouteUrl("HomePage")" class="logo">&nbsp; </a>
    </div>


so something like...

    <div class="header-logo">
        <a href="@Url.RouteUrl("HomePage")" class="logo">&nbsp; </a>
    </div>
    <div style="float:left">...banner code here...</div>
   <div class="header-links-wrapper">...etc


Quick question, here is our head code below. Can I add that float:left or is it gonna mess something up? As you can see there is no float in the header.

<div class="header">
    <div class="header-logo">
        <h1><a href="@Url.RouteUrl("HomePage")" class="logo">ourlogo</a></h1>
    </div>
    <div class="header-links-wrapper">
        @Html.Action("HeaderLinks", "Common")
    </div>
    <div class="header-selectors-wrapper">
        @Html.Action("SearchBox", "Catalog")
        @Html.Action("WidgetsByZone", "Widget", new { widgetZone = Nop.Core.Domain.Cms.WidgetZone.HeaderSelectors })
    </div>
</div>
11 năm cách đây
nevermind I was overthinking what you said
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.