I have two problems header.contactus and nivoslider

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
8 Jahre weitere
1. Can I cancel or fix header.contactnumber area ?

2. Nivo slider brings up. How can fix this ? (thema is Mystore)

Thank you

8 Jahre weitere
For problem
1. Add localisation value for header.contactnumber may be it present at your view like @T("header.contactnumber") from admin panel you can add it.

2. Find your custome.css and at line 8 you will see css like

.theme-custom .nivoSlider {
  position: relative;
  z-index: 0;
  background: #fff url('loading.gif') 50% 50% no-repeat;
}

at there add margin-top: 28px;
8 Jahre weitere
Yemin wrote:
1. Can I cancel or fix header.contactnumber area ?

2. Nivo slider brings up. How can fix this ? (thema is Mystore)

Thank you



Adding flowing style

.contact-number {
    display: none;
}
.theme-custom .nivoSlider{
margin-top:30px;
}


----------------------------------
Thanks advance for watching my post
Best regard
Bibhuti Barai
8 Jahre weitere
Thank you soo much !

I fixed nivoslider .

But Where i find header.contactnumber file ?
8 Jahre weitere
Yemin wrote:
Thank you soo much !

I fixed nivoslider .

But Where i find header.contactnumber file ?



At Presentation==>Nop.Web==>Views==>Shared==>Header.cshtml you will get "header.contactnumber".
8 Jahre weitere
I am very sorry my friends. :(

I find the file but where i can add and what?

@using Nop.Core
@using Nop.Core.Infrastructure
@using Nop.Services.Localization
@using Nop.Web.Framework.Themes
@{
    //logo path
    var currentThemeName = EngineContext.Current.Resolve<IThemeContext>().WorkingThemeName;
    var logoPath = "~/Themes/" + currentThemeName + "/Content/images/logo.png";

    //store name
    var storeName = EngineContext.Current.Resolve<IStoreContext>().CurrentStore.GetLocalized(x => x.Name);
}
<div class="header">
    @Html.Widget("header")
    <div class="header-upper">
        <div class="header-selectors-wrapper">
            
            @Html.Action("TaxTypeSelector", "Common")
            
            @Html.Action("CurrencySelector", "Common")
            
            @Html.Action("LanguageSelector", "Common")
            
            @Html.Widget("header_selectors")
        </div>
        <div class="header-links-wrapper">
            @Html.Action("HeaderLinks", "Common")
            @Html.Action("FlyoutShoppingCart", "ShoppingCart")
        </div>
    </div>
    <div class="header-lower">
        <div class="header-logo">
            <a href="@Url.RouteUrl("HomePage")">
                <img title="" alt="@storeName" src="@Url.Content(logoPath)">
            </a>
        </div>
        <div class="search-box store-search-box">
            @Html.Action("SearchBox", "Catalog")
        </div>
    </div>
</div>
8 Jahre weitere
Yemin wrote:
I am very sorry my friends. :(

I find the file but where i can add and what?

</div>


can you share your site link or Pm?
8 Jahre weitere
Yemin wrote:
I am very sorry my friends. :(

I find the file but where i can add and what?

@using Nop.Core
@using Nop.Core.Infrastructure
@using Nop.Services.Localization
@using Nop.Web.Framework.Themes
@{
    //logo path
    var currentThemeName = EngineContext.Current.Resolve<IThemeContext>().WorkingThemeName;
    var logoPath = "~/Themes/" + currentThemeName + "/Content/images/logo.png";

    //store name
    var storeName = EngineContext.Current.Resolve<IStoreContext>().CurrentStore.GetLocalized(x => x.Name);
}
<div class="header">
    @Html.Widget("header")
    <div class="header-upper">
        <div class="header-selectors-wrapper">
            
            @Html.Action("TaxTypeSelector", "Common")
            
            @Html.Action("CurrencySelector", "Common")
            
            @Html.Action("LanguageSelector", "Common")
            
            @Html.Widget("header_selectors")
        </div>
        <div class="header-links-wrapper">
            @Html.Action("HeaderLinks", "Common")
            @Html.Action("FlyoutShoppingCart", "ShoppingCart")
        </div>
    </div>
    <div class="header-lower">
        <div class="header-logo">
            <a href="@Url.RouteUrl("HomePage")">
                <img title="" alt="@storeName" src="@Url.Content(logoPath)">
            </a>
        </div>
        <div class="search-box store-search-box">
            @Html.Action("SearchBox", "Catalog")
        </div>
    </div>
</div>


Please first find

"<div class="contact-number"><font><font>
      Contact Us!
      </font></font><h2><font><font class="">header.contactnumb is</font></font></h2>
    
    </div>"
then remove it or add Localisation values.

Here is the link that describe how you can add localisation values.

http://docs.nopcommerce.com/display/nc/Localization
8 Jahre weitere
sohel wrote:
I am very sorry my friends. :(

I find the file but where i can add and what?

</div>

can you share your site link or Pm?


Hi Sohel here is the site link http://www.oteberim.com/
8 Jahre weitere
yes it is my site link !

I can't find relevant line
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.