Close

Profile: Peter.Zhekov

Avatar

User posts

10 years ago

RichardS wrote:
When I have a product picture on a transparent background the regular product picture has a white background, however, when the cloud zoom is activated, the transparent background is used.  Is there a way to have the could zoom view place a white background behind the image?


Hi Richard,

You can try to set white background color to the 'cloud-zoom-big' element. I have tried to set a white background to this particular elements and it works perfectly.
So find the file 'CloudZoom.css' and in the styles below just add the bold line:

#cloud-zoom-big {
      border: none;
      overflow: hidden;
     background-color: #fff;
        }

10 years ago

JayC wrote:
Is there a way to increase the amount of characters shown in the title or the description? Perhaps adding CSS somewhere?

Thanks


Hi Jay,
You are right!
You can manage the title and description in the carousel by adding the following styles in the 'JCarousel.css' file:

.nop-jcarousel .jcarousel-item .short-description {
    max-height: 30px;
}
.nop-jcarousel .jcarousel-product-name {
    max-height: 20px;
}


The first selector is for the 'short description' and the second one is for the 'title/product name'. You need to test and choose value which works for you (it is not necessary to use the values 20 and 30 pixels because it might not look good).

10 years ago

RichardS wrote:
This is really two questions, but somewhat related.  

1.  Can I reduce the height of the categories menu rows on the left side, so I can get more categories visible on the page?  

2.  Can I reduce the height of the header drop down menus rows so more can appear on the screen or split the drop down menu into two columns?  

I will PM you with some screen shots.


You can simply reduce the height of the categories in the left side. You just need to change one value in the 'styles.css' file (which you can find in '~Content/CSS/styles.css').
Look for the code below and just change the bold value to "5px". This will make the line lower.

.block .list a {
    border-top: 1px solid #c9c9c9;
    display: block;
    padding: 9px 10px;
    position: relative;
    transition: all 0.2s ease-in-out 0s;
}


If you like you can copy only the line bellow in the 980.css file and the category menu in side will looks lower only in the desktop resolution.

.block .list a {
    padding: 5px 10px;
}


About the second question, you can use the same approach with reducing the items height. In the file '980.css' find the following styles and change the bold value only:

.header-menu .sublist a {
    background: rgba(255, 255, 255, 0.9) none repeat scroll 0 0;
    border-bottom: 1px solid #c9c9c9;
    color: #505050;
    display: block;
    line-height: 14px;
    padding: 11px 15px;
    ...
}

Here you can set value of 7px for example. There are no option to use two columns in the drop down menu. Also you can have different amount of subcategories on different levels so the other approach (maximum height and overflow ) will not be option. I saw that there is lot of element in 'gift accessories' and this is only second level sub menu. In this case you can try to add this code, but kept in mind that if you have some sub menus one level down, it wont works.

.top-menu > li > .sublist-wrap > ul > li > .sublist-wrap {
    max-height: 300px;
    overflow: auto;
}

This will limit you second level sub menu to maximum 300 pixels and let you get to all of the items in the menu by scrolling up and down. If you decide to try this you need to add this styles in the '980.css' file.

10 years ago

Hi Richard, This is what you can do for for the carousel:

.manufacturers-carousel .item-picture a {
    border: medium none;
    height: 150px;
    position: relative;

}


.nop-jcarousel .item-picture img {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    margin: auto;
}


With the first code we give height to the wrapper element. You need to add only the bold one styles. You can find the existing styles in 'Plugins/SevenSpikes.Nop.Plugins.JCarousel/Themes/Content/JCarousel.css'.
The second selector '.nop-jcarousel .item-picture img' you will also find there. You can simply remo all the line and replace it with the one I am sending you:

.nop-jcarousel .item-picture img {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    margin: auto;
}


Please write back if there are some more issues.

no images
10 years ago

Rgrant wrote:
Peter,

Ok that takes care of the item display

http://gansinkdigital.com.dock.arvixe.com/cart/aq-heavy-photo-gloss-3

but images appear at the Home page level, Category, Product. I'm reading through the css. Is their css for these various levels for which I can write the no display code?

i.e. http://gansinkdigital.com.dock.arvixe.com/cart/


Thanks,
RG

You can use this global styling:


.item-box .picture {
    display: none;
}



This will hide all the images all over the theme. It's global but as I understand you do not need any images in the theme (neither the categories or the product item boxes).

10 years ago

RichardS wrote:
I have one top level menu that has several categories.  On normal sized monitors, I noticed the header drop down menus will scroll past the end of the screen, and it is difficult to select items passed the bottom of the screen.  Is it possible to change the height of the menu tables so additional categories will appear or split it into two columns?  In other words, I am trying to get the subcategory listing to be more compact?  I would like to do the same thing in the left hand column (but not split it). 

Any help or suggestions will be appreciated.



Hi Richard,


If I have understood correctly in case you have too much element in your 'sub menu' you can not scroll to the very bottom of this menu in case it height is bigger than the screen height. So you can solve  the problem by adding the following styles in the '980.css' file:

.header-menu .sublist-wrap {max-width: 500px;}


You can use other value instead of 500px. This will make your sub menu maximum height of 500 pixels, and if it is bigger than 500,  scroll will appear.  

If this is not what you want to accomplish, please send us back a screenshot of the problem.

10 years ago

carrielr01 wrote:
The problem is not with the background.  The problem is that the menu becomes one huge line along the left side of the screen.   My site is internal only right now because I'm hesitant to even launch it with the IE issues.   I cannot understand why it looks find on the NOP templates site in IE, but when I download it and install it, it renders horribly wrong.  

I will post back if I can get an image in here.


Please make sure that you are using the proper version of IE browser, but not with 'Quirks mode' or something else turned on (turn off all the emulation if there are some). And also please send us a link to screenshot of the problem.

10 years ago

Rgrant wrote:
so I want to style my Electronic cart up with colors and font sizes, background images, etc.

For instance I'd like to style the navigation bar.

I don't seem to find it in the styles.css file.

RG


Styles for the navigation bar (probably you mean 'mega menu') you can find here: '~Plugins\SevenSpikes.Nop.Plugins.MegaMenu\Themes\your theme here\Content\MegaMenu.css'.

no images
10 years ago

Rgrant wrote:
All I can say is that my client has no images. Just text

I saw in the forum someone suggesting using a 1 pixel image. 

I'll need to figure out what to do. Certainly can't can't"mo image" displaying everywhere.


You can simply hide the product image, find the following code in your 'styles.css' file:

.product-grid .product-item .picture {
   ...
}
And add 'display: none;' property like this:

.product-grid .product-item .picture {
   ...
   display: none;
}


Please check you 'OrderSummary.cshtml' view (you can find it here '~Presentation\Nop.Web\Themes\Motion\Views\ShoppingCart\OrderSummary.cshtml') for following code:





<div id="terms-of-service-warning-box" title="@T("Checkout.TermsOfService")" style="display:none;">
                                <p>@T("Checkout.TermsOfService.PleaseAccept")</p>
                            </div>
                            <div class="terms-of-service">
                                <input id="termsofservice" type="checkbox" name="termsofservice" />
                                <label for="termsofservice">@T("Checkout.TermsOfService.IAccept")</label>
                                <span class="read" onclick="javascript:OpenWindow('@Url.RouteUrl("TopicPopup", new { SystemName = "conditionsofUse" })', 450, 500, true)">@T("Checkout.TermsOfService.Read")</span>
                            </div>

If this code looks the same in your document, everything is fine. If there are some difference please write back what your view contain.  Also there are settings in the Administration which you can check:

'Content Management/Topics'. Once you have opened it look for 'ConditionsOfUse'. Inside it check the system name and the URL.