Close

Profile: hristo

Avatar

User posts

Paulz wrote:
Hi Guys,

Could you help me with a new theme class similar to banner-small in nivo.css so i can have 2 banners same line banner1 792px width & banner2 384px width.

Best Regards

Paulz



Hello Paulz,

I'm not really sure what you mean. You can set a custom class name in your plugin administration and then use this class to apply css to it. You can put the css either in the css file of the plugin or in the css of theme. And if you are using one of our themes then you can put it into the custom head styles panel in your theme administration which is the best was as no files are being changed and you can use your custom code in future nopCommerce upgrades without merging.

If you are having any trouble please start a support ticket instead of writing in the forum.

6 years ago

jakubz wrote:
Hi!
we use ELement Earth Variant 1, and we work with google insight, and try make our page faster...

One Recomendation from google is remove blocking css and we have there 3 fonts. Oswald, Monsterrat, and Raleway... Main font out theme is Oswald. I'm wondering where are used another 2 (Monsterrat and Raleway?)? I delete them in console... but on first sight i don't see difference, so here i am ;) and maybe can someone explain, where it used? Or tell me why i shouldn't remove them?:) Maybe i can move them on a bottom page if this not a "main" font?


hello jakubz,

Montserrat and Raleway fonts are used only in the "Air" variants of the Element theme. As long as you are using one of the "Earth" variants you won't need them. So you can remove them from the _RootHead.cshtml file.


Regards

Bugs
6 years ago

Hi,

can you please start a support ticket and preferably provide us with login credentials so we can log in and inspect what the problem is?


Regards

6 years 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

6 years 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.

6 years 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
6 years 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.

6 years 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.

6 years 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.