Hi Richard,
Your manufacturers images in the carousel can be vertically centered but I need to take a look at them first. Can you provide me some URL to live site, so I can test it?
For the second question, this tiny box must be the border. You can remove it if you add the following styles in the CSS file (which you can find here: '~Plugins/SevenSpikes.Nop.Plugins.JCarousel/Themes/motion/Content/JCarousel.css')
When you find the css file, please add this code below:
.manufacturers-carousel .item-picture a {
border: none;
}
About the issue with the shopping cart icon, I am not able to give you a fast and easier answer about how to accomplish this. The problem comes from both views where the elements are placed. So when you replace one element from one view to another, whole site broke down.
So this is quite big customization and it`s not that simple to be done.
Hi there,
For mega menu position you try this (add the code below in the '980.css' file):
div#headerMenuParent {
position: fixed;
top: 0;
width: 100%;
}
.master-wrapper-page {
margin: 61px 0;
}
First thing to do is to hide the 'header-links-wrapper' in mobile. You must add the following styles in '~nopCommerce_3.6\Presentation\Nop.Web\Themes\Nitro\Content\css\mobile-only.css' file.
.header-links-wrapper.open {
display: none;
}
<div class="personal-button" id="header-links-opener">
<span>@T("SevenSpikes.Themes.Common.Personal")</span>
</div>
<div class="personal-button" id="header-links-opener">
<a href="@Url.RouteUrl("ShoppingCart")" class="ico-cart"></a>
@Html.Action("FlyoutShoppingCart", "ShoppingCart")
</div>
.responsive-nav-wrapper .personal-button {Here we need just to change the background image with the
background-image: url("../img/mobile-btn-links.png");
display: inline-block;}
.responsive-nav-wrapper .personal-button {
background-image: url("../img/icon-cart.png");
display: inline-block;}
.header-links-wrapper {
display: block;
float: right;
margin: 0;
}
Hi there,
You can use the 'Custom Head Styles' in the 'Nitro' theme administrations. Please add the following styles:
@media print {.header-menu {display: none;}}
Hi Pratic,
Every '.css' file has his purpose:
for example '980.css' file is for styles in desktop resolution and every styles in this file will apply to the website if customers use viewport bigger than 980 pixels. There is one global file which contain styles for all the resolution and this is 'styles.css' file. The file 'mobile-only.css' is for mobile devices only (of resolution smaller than 980 pixels). So if you want your logo to be visible in all the resolution you must add the styles in the 'styles.css' file, if you want it only on mobile devices - use 'mobile-only.css', and if you have other preferences take a look in the other css files. '480.css' is for devices bigger than 480 pixels (which is pretty common for mobile phones). Actually I thought you want to have it only on smaller devices but not on the desktop (that`s why I told you to place it in the 'mobile-only' file). If you want it everywhere - use 'styles.css' file.
If you are not able to deal with this, please submit a ticket in our website.
Hi there,
This is what I did and it works properly.
First in the file _Root.cshtml ("~\Presentation\Nop.Web\Themes\theme name\Views\Shared\_Root.cshtml" ) I have added element 'div' with class 'small-logo-icon' (look the samples below).
<div class="small-logo-icon">
<a href="@Url.RouteUrl("HomePage")" class="logo">
</a>
</div>
<div class="responsive-nav-wrapper">
<div class="small-logo-icon">
<a href="@Url.RouteUrl("HomePage")" class="logo"></a>
</div>
<div class="menu-title">
<span>@T("SevenSpikes.Themes.Common.MenuTitle")</span>
</div>
<div class="search-wrap">
<span>@T("Search")</span>
</div>
<div class="shopping-cart-link">
<a href="@Url.RouteUrl("ShoppingCart")">@T("ShoppingCart")</a>
</div>
<div class="filters-button">
<span>@T("SevenSpikes.Themes.Common.Filters")</span>
</div>
<div class="personal-button" id="header-links-opener">
<span>@T("SevenSpikes.Themes.Common.Personal")</span>
</div>
</div>
.responsive-nav-wrapper .small-logo-icon {
background: rgba(0, 0, 0, 0) url("../img/new-small-logo.png") no-repeat scroll center center;
float: left;
}
.small-logo-icon {
background: rgba(0, 0, 0, 0) url("/Themes/allure/Content/img/logo.png") no-repeat scroll center center / 50px auto;
float: left;
}
Hi Patrik,
You must go to "_Root.cshtml" view and create new element which must hold your logo ( look the example below).
In the markup add link with random class:
<a href="" class="small-logo"></>
<a href="@Url.RouteUrl("homepage")">).
.small-logo{display:inline-block; with:45px; height:45px; background-image:url('the path to the logo image goes here')no-repeat center;}
Hi there,
If your images for the slider are smaller you can set style property for max-with (look the example below) and this way to limit the stretching of the slider just as much as you want.
.slider-wrapper {
margin: 0 auto;
max-width: 1600px;
position: relative;
z-index: 1;
}
The bold styles are the one you must change. For 'max-widht' use whatever value you want, and 'margin: 0 auto;' will hold your slider in the center of the screen. Where you must place this styles? In the file '~Plugins/SevenSpikes.Nop.Plugins.AnywhereSliders/Themes/your theme name here/Content/nivo/nivo.css'. Just look for this selector - '.slider-wrapper'- and add the styles and values you want.