Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Author « Topic »  

jimhuang
Advanced Member

Taiwan
247 Posts

Posted - 02/15/2021 :  02:35:36  
In current store (old template), I added async to eccart.js and store worked good and got a better score in PageSpeed Insights.

So I try to add async in latest template version with
<script async src="js/ectcart.js"></script>
but the top navigation disappears when resize in smaller mobile screen.

Need help!

Jim

Edited by - jimhuang on 02/15/2021 19:04:40

Vince
Administrator

42488 Posts

Posted - 02/15/2021 :  12:19:53  
Hi Jim
The ectcart.js is really tiny, like around 38k so I'm pretty sure it's not going to have a massive impact and you may well get higher and lower scores if you try multiple times.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

jimhuang
Advanced Member

Taiwan
247 Posts

Posted - 02/15/2021 :  19:09:06  
OK Thanks.

In top nav, I have too many columns, so it displays in two lines.
Is it possible to collapse all columns initially and display hamburger menu icon only on desktop screen when open the browser?

Another question?
In secondary navigation, is it possible to not display "Next day delivery" and replace it with "Navigation" to instead, just like top navigation when on small mobile screen.


Edited by - jimhuang on 02/15/2021 19:33:11

Vince
Administrator

42488 Posts

Posted - 02/16/2021 :  01:05:56  
Hi Jim
quote:
Another question?
In secondary navigation, is it possible to not display "Next day delivery" and replace it with "Navigation" to instead, just like top navigation when on small mobile screen.
I'm not sure at the reasoning for not hiding the first menu element when changing to the hamburger and I might change that. To do this yourself, look in the file...
/css/style.css
...and on line 308 change...
.topnav1 a:not(:first-child) {display: none;}
...to...
.topnav1 a {display: none;}

For the first problem, can you let me know the link to your test site so I can try this out. There may be a better way.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

jimhuang
Advanced Member

Taiwan
247 Posts

Posted - 02/16/2021 :  01:50:53  
Hi Vince,
Thank you.

Because left block has all categories there, so I think top nav may be not necessary to display all columns on desktop screen.
These questions are for my testing purpose on PageSpeed Insights due to Google said: All Core Web Vitals may need to be met for ranking boost.

3dlens.com/TEST/


Jim
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000