Home Forums Air WordPress Theme Portfolio list scroll position error

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #19170
    ymdesign
    Participant
    Purchased

    My website has a list of portfolios on the home and works pages.
    There is a malfunction in this portfolio list and I would like to correct it.

    Malfunction Details :
    Click on a specific portfolio item -> Go to the detail page of the item you clicked -> Press the back key to return to the portfolio list page -> Portfolio list scrolling does not retain last position.(set to any position) The same error occurs on mobile.

    Please let me know what part of the code needs to be fixed.
    Thank you for the quick and accurate response every time.

    #19171
    ymdesign
    Participant
    Purchased
    #19172
    SeaTheme
    Keymaster
    Purchased

    Hi,
    Please try to remove the codes line1994-1998 in /js/custom.theme.js

    window.onpageshow = function(event) {
    	    if (event.persisted) {
    	        window.location.reload() 
    	    }
    	};

    Please clean the mobile browser cache to test.

    Regards!
    SeaTheme – SeaTheme.netTwitterFacebook

    #19174
    ymdesign
    Participant
    Purchased

    Thank you for your prompt response.
    But unfortunately,
    I deleted that function but still get the same error. t.t

    /*
    window.onpageshow = function(event) {
    if (event.persisted) {
    window.location.reload()
    }
    };
    */

    #19176
    SeaTheme
    Keymaster
    Purchased

    Hi,

    Please make sure to clean the mobile browser cache to test.

    Regards

    #19189
    ymdesign
    Participant
    Purchased

    Cleaned up the mobile browser cache and tested it on mobile and found it fixed correctly.

    However, the PC browser still experiences the last position of the scroll not being fixed.

    #19196
    SeaTheme
    Keymaster
    Purchased

    Hi, did you clean the browser cache? I tested your website on my browser just now, it worked.

    #20556
    lieselchen
    Participant
    Purchased

    Hi

    after installing the theme update I got the same problem. I deleted the said lines in the former version but now I don’t know where to remove these lines as the theme-editor is missing in the design menu.
    Can you help me please.

    Furthermore the website fonts (google fonts) are not working with google chrome, Firefox and safari are ok.

    https://www.betonwerkstatt.ch

    Thanks a lot for your help

    #20558
    lieselchen
    Participant
    Purchased

    Hi again, I removed the said lines now but it is not working.
    When I click back from a pic in the portfolio or in news to the main page it is reloading and scrolling back to the top every time.
    What can I do?

    Thanks a lot
    Petra

    #20559
    SeaTheme
    Keymaster
    Purchased

    Hi,

    I checked your website, there still the code in the custom.theme.js https://www.betonwerkstatt.ch/wp-content/themes/theone/js/custom.theme.js (scroll to the bottom)
    ps: plz check if there is cache setting on your wp-admin, please purge it

    I didn’t see the different of the font: https://www.dropbox.com/s/xdvt2cuv52oi3z6/qq20200227-115057.jpg?dl=0

    Regards

    #20561
    lieselchen
    Participant
    Purchased

    Hi

    I put the code back yesterday as it didn’t work although I deleted the cache several times.
    For some reason it is working now. Thanks

    But there is still an issue with the font in Chrome, I see something like Times new Roman and the page reload is also still there in chrome. But if it is working on your end, I think I can fix this somehow.

    Thanks, Petra

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.

Join Newsletter(FREE)

Subscribe to our newsletter to receive news & updates. We promise to not spam you, super promise!