Close

Profile: hristo

Avatar

User posts

Hi,

this question has been answered in a support ticket. Please check there.

7 years ago

OTH wrote:
One suggestion.
To be able to put a logo on both left and right side of the footer on the page (Same line a payment-sprite)
This would come in handy if you wanted to add a logo from "Symantec" for example on the right side to show the customer the website is secure.
And on the left side to put a logo from someone that has given the company a certificate to do some sort of business (Like dealing with animals or food).


Hello OTH & thanks for the suggestion, it makes sense.
We have to test the suggested layout with logos of various sizes and aspect ratios on various resolutions and will decide if it will be implemented or not. However this is going to happen after the 4.0 upgrade as our schedule if full right now.

7 years ago

dyrarikid wrote:
The image sprite file is "payment-sprite.png", you can find it in the "img" directory in your theme. If you edit this file you have to edit also the corresponding css code according to your changes. The code is located in the main css file ("styles.css")

Hi,
I found out where to do this, thank you.

I was wondering if you could tell what code to put in the styles css file if I would want to put logos like "payment-sprite" but on the right or left side of the footer?

Regards,
Odinn Thor



The code will vary depending on multiple factors so I can't really tell unless I'm working on an actual project.

7 years ago

The image sprite file is "payment-sprite.png", you can find it in the "img" directory in your theme. If you edit this file you have to edit also the corresponding css code according to your changes. The code is located in the main css file ("styles.css")

7 years ago

Tommy wrote:
Hi
I want to show a count of items in basket, as customers can´t see the count when selecting Continue Shopping in the quick view.
This is confusing some customers so they add same items again.

Using nopCommerce 3.80.

Best regards
Tommy



Hello Tommy,

an item counter has been already added to the header shopping cart link/button in Brooklyn theme and it is available via administration setting, but only for version 3.90. The same functionality is not present in 3.80

Hello Joster,

I don't think it's quite possible to split your css to "essential" and "non-essential", or if not impossible, then at least it will be quite difficult.

Besides, the Alfresco theme just has been refactored for 3.9, and the whole css code has been rewritten and optimized + some design improvements have been made, so if you are planning to upgrade to 4.0 it is pointless to do any modifications on your theme now. Keep in mind that if you already have custom modifications, you have to merge it manually when you update your theme, otherwise they will be lost.

Hi,

you can't upload a second logo, there's no such option. There are two possible workarounds though if you are familiar with html & css:

1. you hardcode another logo element in the source code of the theme and then use css to keep one of the logos hidden depending on screen width.
2. use only css - add your secondary logo as a css background of the logo link and use css to hide the original logo image (<img>) depending on screen resolution. If you take this approach you will need to set some dimensions of the logo link, otherwise it will collapse once the <img> is hidden.


Regards

7 years ago

Hi,

I can see your main function is defined but not invoked. As written in the previous post you have to initialize this script in order to get it working. You can invoke the function before the closing script tag:

handlePurchaseQuantityValue();

msofia wrote:
Hi,

How can I enable a 2 column layout in categories pages in a mobile's phones view? I want to see 2 products per line. The template is really great, but I prefer to see 2 columns instead of only one.

Thank you very much!
Miguel


Hello Miguel,

there's no such option to enable or disable, but you can achieve that by adding a little extra css to your theme. Just paste this code into the custom head styles panel in your theme administration:

@media all and (max-width: 480px) {
.product-grid .item-box,
.product-list .item-box {
    width: 48%;
    margin: 0 1% 30px;
    float: left;
}
.product-grid .item-box:nth-child(2n+1),
.product-list .item-box:nth-child(2n+1) {
    clear: both;
}
}

This code will affect only product boxes on "phone" screen resolutions. Manufacturers and Category items will remain unaffected.

7 years ago

laloni wrote:
Hello

is it possible to put the icon for comparing products next to the icons for the shopping cart and the wishlist on the topright?


Best Regards,
Christine


Hello,

there's no such setting to add a link to compare products page in your header, but if you are familiar with css you can add it manually and then style it. The section ("header-actions") you have to edit is placed in the "Header.cshtml" file (Themes\Brooklyn\Views\Shared\) and it looks like this:

            <div class="header-actions">
                @if (wishlistEnabled)
                {
                    <a href="@Url.RouteUrl("Wishlist")" class="ico-wishlist">
                        <span class="wishlist-qty"></span>
                    </a>
                }
                @if (shoppingCartEnabled)
                {
                    <a href="@Url.RouteUrl("ShoppingCart")" class="ico-cart">
                        <span class="cart-qty">@T("ShoppingCart.HeaderQuantity", Model)</span>
                    </a>
                    @Html.Action("FlyoutShoppingCart", "ShoppingCart")
                }
            </div>

You can add your custom link (<a>...</a>) next to the existing links inside the "header-actions" wrapper and set its url to refer to compare products page. Also you can add a custom class name to it and use that to style the link to look like an icon. The css code needed can be put in your "styles.css" file or in the "custom head styles" panel in your theme's administration.