Close

Profile: hristo

Avatar

User posts

one year ago

Hello,

the category image dimensions are determined by the corresponding setting on the "media settings" page in your administration. When a setting is changed there it is also necessary to clear the cache from the admin panel otherwise the new setting will not be applied on the website (as the images are all cached).

If you have a persisting problem with image dimensions please open a support ticket at nop-templates.com

one year ago

LaurenIFM wrote:
Hi,

I am using NopCommerce 3.80


Ok, then move the corresponding code:

@Html.Action("Social", "Common")

from the footer cshtml file (Themes\Smart\Views\Common\Footer.cshtml) to the header cshtml file (Themes\Smart\Views\Shared\Header.cshtml)

And to make it clear again - don't expect it to look good. once applied, you have to style it on your own.

one year ago

LaurenIFM wrote:
Hi,

Does anyone know if it is possible to move the social media links from the footer to the header in the Nop Smart theme?
Would really appreciate it.


Hello,

if you move the corresponding code:

@await Component.InvokeAsync("SocialButtons")

from the footer cshtml file (Themes\Smart\Views\Shared\Components\Footer\Default.cshtml) to the header cshtml file (Themes\Smart\Views\Shared\_Header.cshtml), it will work. Of course there will be no css styling for the social buttons in the header so you have to create some custom css on your own to make it look proper.

The above example is targeting nopCommerce 4.0 only. If you are using an older version, let us know which one is it and we will provide you with another hint.

Regards

stick class
one year ago

kava wrote:
Hi,
it's possible disable stick class on master-header-wrapper?

thanks


Hello,
you need to edit your prisma.js file (Themes\Prisma\Content\scripts\).

Look for these two blocks of code:


stickyNavigation: {
                stickyElement: '.master-header-wrapper',
                stickyElementParent: '.master-header-wrapper-parent',
                showStickyOnFirstReverseScroll: false
            },


and


stickyNavigation: {
                stickyElement: '.master-header-wrapper',
                stickyElementParent: '.master-header-wrapper-parent',
                showStickyOnFirstReverseScroll: true
            },


The first block of code is applied on desktop device resolutions, and the second one is applied on mobile device resolutions. Delete the one you don't need, or both.

Make a local backup of your file first, in case anything goes wrong.

one year ago

jkeeler wrote:
One of the biggest issues we have in our store is when a guest tries to access a topic page that is restricted to registered users, they just get redirected to the home page.  It seems the better approach to this is to redirect them to the login page or at least pop up a message like "You must be logged in to view this page."  In addition, users should be redirected back to the page they were on or requested after they log in rather then taken to the home page.  It just is not a fluent work flow right now.


Hello jkeeler,
this is a core functionality in nopCommerce and not a specific part of our theme, so if you want it to be changed you should make a suggestion to the nopCommerce team.

one year ago

Hello Joster,

can you please post your suggestion at NopTemplates' uservoice forum:

https://noptemplates.uservoice.com


The feedback there is taken into consideration when developing new features.

one year ago

Hi,

just add this code into the custom head styles panel in your theme administration:

img {
    max-width: 100%;
}

It should fix your issue. If you still have trouble with it, please start a support ticket.

Freddy1234 wrote:
Hello

Is this something you need to do from a CSS
or do the template have any easy way changing what main text color us used?


Hi,
it depends on what you mean by "main text color".

The main theme colors (red & green by default) can be changed in the admin section. The main body text color (paragraph texts, etc, which are light grey by default) can be changed by adding a single css definition into the custom head styles panel in your administration, for example:

body {
    color: #666;
}

Just put your color of choice if this is what you are after.

All other colored elements (like solid black links, etc) can be only changed if redefined manually (either in custom head styles or in the css files).


Regards

one year ago

popolun wrote:
Hi,

I added the following code,and it works.
.block .listbox li a:hover{
    background-color:red;
    color:#fff !important;
}

Now, I want the color stayed on the selected catalog. What should I add?
I tried the following code, but it wasn't successful.
.block .listbox li a:focus{
    background-color:red;
    color:#fff !important;
}



Hello,

the ":focus" pseudo class will not help you to change the styling of the selected catalog item. You should use the "active" class instead, it applies to the selected list item.
If you have any further questions about the theme layout and styling, please start a support ticket instead of writing in the forum.


Regards