Hi urishtaujjain, testing with https://pagespeed.web.dev/ and lighthouse have some small differences but shouldn’t be that big, now seems to be better and everything is on green – https://we.tl/t-Dlw8jD2OzA
https://we.tl/t-stmFlfR183
Calin can you help me to solve this issue can you try opening my site on mobile once and the home page opens fine but when I go to any of my articles and scroll down then the menu bar layout is shifting can you tell me whether it is working properly or is there any issue
https://we.tl/t-stmFlfR183
hey,Calin can you help me to solve this issue can you try opening my site on mobile once and the home page opens fine but when I go to any of my articles and scroll down then the menu bar layout is shifting can you tell me whether it is working properly or is there any issue
Ok, I checked on homepage, post, author and category and the menu elements seems to be moving on posts when the sticky sidebar is used. I think this is what you referred. Now this can be a result from css optimizations, what I will recommend is to check if this is happening when you are logged in, if is happening then there is a different problem, and not related to css optimizations.
Also, just for a test you can try to disable the sticky header -https://i.imgur.com/leWpFEG.png, clear cache and create a new one an see if the score is better.
file is not opened please send other format -https://i.imgur.com/leWpFEG.png
My mobile score is falling, please check it- https://we.tl/t-n8vi6Jesax
I think that you checked when the cache was clear and was not fully create a new one – https://we.tl/t-Kh5eW4rldM I made some tests and now the results are better, but can not be constant will increase and decrease base on cache lever at that moment on website.
can you give me solution for this- https://we.tl/t-6h8rmAeoXW
Hi urishtaujjain,
I the cache plugin you are using set to create a different cache for mobile version?
For the elements that are changing the dimension it is possible to be first display a dimension and after that to load the new one (this can be also a custom css set in theme panel in css for mobile and it should be load faster in head of using the media tags, so if you have)
@media only screen and (max-width: 600px) {
}
Thank you!
Hi Calin,
I am not that technical you can take a look at the settings if I need to change anything in it then tell me I am using FlyingPress
Flying press screenshots https://we.tl/t-lNsSO7SdTv
Please Check it i am putting code correctly or not -https://we.tl/t-UCDPqHlx37
I removed the code you gave me because it decreased the desktop score as well.
Hi,
Ok, so FlyingPress provide separate cache for mobile is you are using this cache, this is recommended by the FlyingPress if you are not using the responsive version- https://docs.flyingpress.com/en/article/generate-separate-cache-for-mobile-p7a3vn/
Now in case that the problem is still persisting, please try this custom css (and remove ethe one prom previous reply)
@media (max-width: 767px) {
.header-search-wrap .td-icon-search {
font-size: 27px;
padding-top: 8px;
}
#td-top-mobile-toggle i {
font-size: 26px;
line-height: 55px;
padding-left: 13px;
display: inline-table;
vertical-align: middle;
color: #efefef;
}
.td-main-menu-logo img {
width: auto;
}
}
The code needs to be set between style /style tags – https://we.tl/t-IxgVEt38Tr
-
This reply was modified 1 year by
Calin.
Calin, I am attaching a screenshot of my desktop pagespeed-https://we.tl/t-qCjNgv9gdx, in which you can see that I have solved all the issues by working on it for two days, with your help. Earlier, the tree map was not working properly, now you see, the layout is completely working and there are some moves in 5 points which were not there earlier. Now, with your help, I have to work on the mobile section. Please help me in this.
I pasted the code that you just sent in the analytics section and all the codes that you gave earlier have to be deleted, right?
I am attaching the screenshots of the mobile section -https://we.tl/t-KezSgfzQ6q , on which I need to work, please guide me Calin
Hi,
I’m glad for your desktop results 😀
For mobile remove only this code = https://we.tl/t-g2OAbfKBuH
I forgot, do you use CDN (Cloudflare)? this will help you.
For mobile on Largest Contentful Paint element it’s on first image but this is loading with a fetchpriority=”low” and it should be high and most of the situation seems to be related to this first image that is loading on mobile.
Thanks
And what about this code – @media (max-width: 767px) { .header-search-wrap .td-icon-search { font-size: 27px; padding-top: 8px; } #td-top-mobile-toggle i { font-size: 26px; line-height: 55px; padding-left: 13px; display: inline-table; vertical-align: middle; color: #efefef; } .td-main-menu-logo img { width: auto; } }
Thant code should be set in the Newsmag > theme panel > Analytics between style tags as in this image – https://we.tl/t-IxgVEt38Tr
First of all thank you Calin for helping and guiding me. I am attaching some images to you which I have named step by step and have tried to show you some issues in them.
https://we.tl/t-2dBWGFqVKZ
As far as I understand these 4 are important files for the theme and my website also
For CSS
1.https://mahakaltimes.com/wp-content/themes/Newsmag/style.css?ver=5.4.3.1
2.https://mahakaltimes.com/wp-content/plugins/td-composer/legacy/Newsmag/assets/css/td_legacy_main.css?ver=e5fcc38395b0030bac3ad179898970d6x
3.https://mahakaltimes.com/wp-content/plugins/td-composer/legacy/Newsmag/includes/demos/magazine/demo_style.css?ver=5.4.3.1
Calin I need your help for unused css and javascript. I have tried a lot but I am not able to get the actual unused css and js out. I also tried to get it out by going to Google Chrome DevTools Coverage and implemented it. My website is completely breaking. I have also used some website like PurgeCSS, UnCSS Online, CSS-Remove, PageSpeed Insights. Some plugins like Asset CleanUp and many more. So can you please provide me the unused CSS or JS for my website which is not being used so that my problem will be solved or you have any other option which can help me to solve this problem?
Hello,
I checked the images, now my question is when you set the step 2 and step 3 the score is good, the fact that the images are not loading in google pagespeed should not be a problem as long those are loading when the user is interacting with the website ?(or this is the problem that the images are no longer loading even if the user is interacting with the website).
Also, did you tried to exclude all except tagdiv-theme.min.js ?
Thank you!