crosspeaksoftware / scaffolding

Responsive Design Scaffolding for WordPress
https://scaffolding.io
86 stars 39 forks source link

Refresh loads at top of page #138

Closed bryanf123 closed 6 years ago

bryanf123 commented 6 years ago

Hello,

When the page reloads it loads at the top of the page and I was wondering how to disable this feature.

jewels-illustrates commented 6 years ago

I'm having this same issue, I want the page to reload at the same spot but it forces the user to the top of the page on my site here: http://crfs.flywheelsites.com

I noticed that a site I previously built using an older version of this theme doesn't force you to the top when you reload if the link helps you at all: http://vecwny.com/

jlavoie13 commented 6 years ago

Are you talking about linking to an ID on the page like this http://vecwny.com/our-services/#inner-footer or something else?

bryanf123 commented 6 years ago

Yes, its fine if you are on that page but if you want to link to a spot on a page from another it will load the site at the top. In general the newer theme seems to always load the site at the top of the page every time. I was just wondering if we could deactivate this.

http://manzellamarketing.com/

Bryan FreeDirector of Digital Design

5360 Genesee St., Suite 203 Bowmansville, NY 14026 Phone: 716.681.6565, ext. 220 <716.681.6565%2C%20ext.%220> Fax: 716.681.5678 bryanf@manzellamarketing.com https://www.facebook.com/ManzellaMarketing/ https://twitter.com/ManzellaMktg https://www.linkedin.com/company/118012?trk=tyah&trkInfo=clickedVertical%3Acompan+y%2CclickedEntityId%3A118012%2Cidx%3A3-2-+13%2CtarId%3A1463146627769%2Ctas%3Amanze https://www.instagram.com/manzellamarketing/ http://manzellamarketing.com/blog/

On Wed, Jun 13, 2018 at 2:47 PM, jlavoie13 notifications@github.com wrote:

Are you talking about linking to an ID on the page like this http://vecwny.com/our-services/#inner-footer or something else?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hallme/scaffolding/issues/138#issuecomment-397045506, or mute the thread https://github.com/notifications/unsubscribe-auth/ATPWRVN5Mnom01drnZKfOc7U5YzDOuqfks5t8V5agaJpZM4URwi8 .

jewels-illustrates commented 6 years ago

Yes like that.

jlavoie13 commented 6 years ago

@jewels-illustrates - This seems to be related to Modernizr. I tested the version you are using and was able to replicate it. If you are not using it to test anything I would recommend removing if from the theme.

@bryanf123 - I tested the version of Modernizr you are using but could not replicate your issue.

jewels-illustrates commented 6 years ago

@jlavoie13 thank you!