{"id":15724,"date":"2018-07-30T15:16:51","date_gmt":"2018-07-30T22:16:51","guid":{"rendered":"http:\/\/rosalindgardner.com\/blog\/?p=15724"},"modified":"2018-07-30T15:17:45","modified_gmt":"2018-07-30T22:17:45","slug":"fix-broken-scroll-links-studiopress-themes","status":"publish","type":"post","link":"https:\/\/rosalindgardner.com\/blog\/fix-broken-scroll-links-studiopress-themes\/","title":{"rendered":"How to Fix Broken Scroll Links in StudioPress Themes"},"content":{"rendered":"<p>I wouldn't have known that there were broken scroll links on my <a href=\"https:\/\/rosalindgardner.com\/blog\/abp\">Affiliate Blogger PRO<\/a> site, if not for an email with the subject line &#8220;<em>I KEEP PRESSING THE SIGN-UP BUTTON! ARE others having this problem?<\/em>!&#8221;.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/rosalindgardner.com\/blog\/wp-content\/uploads\/Affiliate-Blogger-PRO.jpg\" alt=\"broken scroll links\" width=\"800\" height=\"392\" class=\"alignright size-full wp-image-15728\" srcset=\"https:\/\/rosalindgardner.com\/blog\/wp-content\/uploads\/Affiliate-Blogger-PRO.jpg 800w, https:\/\/rosalindgardner.com\/blog\/wp-content\/uploads\/Affiliate-Blogger-PRO-300x147.jpg 300w, https:\/\/rosalindgardner.com\/blog\/wp-content\/uploads\/Affiliate-Blogger-PRO-768x376.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>Sure enough, when I tested the scroll links on the homepage, none of them were working &#8211; which doesn't bode well, especially folks can't get to your purchase links fast enough. \ud83d\ude42<\/p>\n<p>Scroll links, or in-page anchor links, are those links that take you elsewhere on the page you're on, and the homepage on that site is rife with them, as I'm using the <a href=\"https:\/\/rosalindgardner.com\/blog\/studiopress-altitudepro\">Altitude Pro Theme<\/a> by <a href=\"https:\/\/rosalindgardner.com\/blog\/studiopress\" target=\"_blank\">StudioPress<\/a>.<\/p>\n<p>Anyway, it took me the better part of the evening to fix the broken scroll links. First I hard-coded some new links with HTML and that didn't work. Then I replaced the menu links to the Front Page sections with custom links and that didn't work either.<\/p>\n<p><!--more--><\/p>\n<p>Then I went to the &#8216;instruction manual' to find the real fix, i.e. Google and finally, StudioPress.<\/p>\n<p>Turned out that an update to Google Chrome affected those links and the javascript code (jquery.localScroll and jquery.scrollTo) in the theme needed to be replaced with the latest version.<\/p>\n<p>The files that needed to be replaced can be found at\u00c2\u00a0<a href=\"https:\/\/github.com\/flesler\/jquery.localScroll\" rel=\"nofollow noreferrer\">jQuery.localScroll<\/a>\u00c2\u00a0and\u00c2\u00a0<a href=\"https:\/\/github.com\/flesler\/jquery.scrollTo\" rel=\"nofollow noreferrer\">jQuery.ScrollTo.<\/a><\/p>\n<p>I uploaded the files to the \/js\/ folder in theme and the fix still didn't work!<\/p>\n<p>Argh.<\/p>\n<p>So, I just replaced \/ updated the theme altogether and that <em>did<\/em> work.<\/p>\n<p>Phew!<\/p>\n<p>So, if you're looking for the quick fix, simply update your theme! \ud83d\ude42<\/p>\n<p>Do you have comments, questions about guest blogging or experience with it? Please share by leaving a comment!<\/p>\n<p>Cheers,<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/rosalindgardner.com\/blog\/wp-content\/uploads\/sig-ros.jpg\" alt=\"sig-ros\" width=\"824\" height=\"94\" class=\"alignleft size-full wp-image-14702\" srcset=\"https:\/\/rosalindgardner.com\/blog\/wp-content\/uploads\/sig-ros.jpg 824w, https:\/\/rosalindgardner.com\/blog\/wp-content\/uploads\/sig-ros-300x34.jpg 300w\" sizes=\"(max-width: 824px) 100vw, 824px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I wouldn&#8217;t have known that there were broken scroll links on my Affiliate Blogger PRO site, if not for an email with the subject line &#8220;I KEEP PRESSING THE SIGN-UP BUTTON! ARE others having this problem?!&#8221;. Sure enough, when I tested the scroll links on the homepage, none of them were working &#8211; which doesn&#8217;t [&hellip;]<\/p>\n","protected":false},"author":577,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[1222],"tags":[1323,1322,369],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Fix Broken Scroll Links in StudioPress Themes - RosalindGardner.com<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/rosalindgardner.com\/blog\/fix-broken-scroll-links-studiopress-themes\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Fix Broken Scroll Links in StudioPress Themes - RosalindGardner.com\" \/>\n<meta property=\"og:description\" content=\"I wouldn&#039;t have known that there were broken scroll links on my Affiliate Blogger PRO site, if not for an email with the subject line &#8220;I KEEP PRESSING THE SIGN-UP BUTTON! ARE others having this problem?!&#8221;. Sure enough, when I tested the scroll links on the homepage, none of them were working &#8211; which doesn&#039;t [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/rosalindgardner.com\/blog\/fix-broken-scroll-links-studiopress-themes\/\" \/>\n<meta property=\"og:site_name\" content=\"RosalindGardner.com\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RosalindGardnerOnline?ref=hl\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/RosalindGardnerOnline\" \/>\n<meta property=\"article:published_time\" content=\"2018-07-30T22:16:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-07-30T22:17:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/rosalindgardner.com\/blog\/wp-content\/uploads\/Affiliate-Blogger-PRO.jpg\" \/>\n<meta name=\"author\" content=\"Rosalind Gardner\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosalindgardner\" \/>\n<meta name=\"twitter:site\" content=\"@rosalindgardner\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Rosalind Gardner\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/rosalindgardner.com\/blog\/fix-broken-scroll-links-studiopress-themes\/\",\"url\":\"https:\/\/rosalindgardner.com\/blog\/fix-broken-scroll-links-studiopress-themes\/\",\"name\":\"How to Fix Broken Scroll Links in StudioPress Themes - RosalindGardner.com\",\"isPartOf\":{\"@id\":\"https:\/\/rosalindgardner.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/rosalindgardner.com\/blog\/fix-broken-scroll-links-studiopress-themes\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/rosalindgardner.com\/blog\/fix-broken-scroll-links-studiopress-themes\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/rosalindgardner.com\/blog\/wp-content\/uploads\/Affiliate-Blogger-PRO.jpg\",\"datePublished\":\"2018-07-30T22:16:51+00:00\",\"dateModified\":\"2018-07-30T22:17:45+00:00\",\"author\":{\"@id\":\"https:\/\/rosalindgardner.com\/blog\/#\/schema\/person\/e1a2787f4571b58c05f7c8cd6a98fa9f\"},\"breadcrumb\":{\"@id\":\"https:\/\/rosalindgardner.com\/blog\/fix-broken-scroll-links-studiopress-themes\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/rosalindgardner.com\/blog\/fix-broken-scroll-links-studiopress-themes\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/rosalindgardner.com\/blog\/fix-broken-scroll-links-studiopress-themes\/#primaryimage\",\"url\":\"https:\/\/rosalindgardner.com\/blog\/wp-content\/uploads\/Affiliate-Blogger-PRO.jpg\",\"contentUrl\":\"https:\/\/rosalindgardner.com\/blog\/wp-content\/uploads\/Affiliate-Blogger-PRO.jpg\",\"width\":800,\"height\":392},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/rosalindgardner.com\/blog\/fix-broken-scroll-links-studiopress-themes\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/rosalindgardner.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Fix Broken Scroll Links in StudioPress Themes\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/rosalindgardner.com\/blog\/#website\",\"url\":\"https:\/\/rosalindgardner.com\/blog\/\",\"name\":\"RosalindGardner.com\",\"description\":\"Learn Blogging &amp; Affiliate Marketing with Rosalind Gardner\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/rosalindgardner.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/rosalindgardner.com\/blog\/#\/schema\/person\/e1a2787f4571b58c05f7c8cd6a98fa9f\",\"name\":\"Rosalind Gardner\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/rosalindgardner.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/76d7f9fe48227e9a6f4b6c1d3f786941?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/76d7f9fe48227e9a6f4b6c1d3f786941?s=96&d=mm&r=g\",\"caption\":\"Rosalind Gardner\"},\"description\":\"Super affiliate, blogger, and speaker, Rosalind is best known for her affiliate marketing training in the Super Affiliate Handbook: How I made $436,797 in One Year Selling Other Peoples' Stuff Online. You can connect with her on Facebook.\",\"sameAs\":[\"https:\/\/rosalindgardner.com\/blog\/sah\",\"https:\/\/www.facebook.com\/RosalindGardnerOnline\",\"https:\/\/www.pinterest.ca\/rosalindgardner\/\",\"https:\/\/x.com\/rosalindgardner\",\"https:\/\/www.youtube.com\/user\/rosalindgardner\"],\"url\":\"https:\/\/rosalindgardner.com\/blog\/author\/rosalindgardner\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Fix Broken Scroll Links in StudioPress Themes - RosalindGardner.com","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/rosalindgardner.com\/blog\/fix-broken-scroll-links-studiopress-themes\/","og_locale":"en_US","og_type":"article","og_title":"How to Fix Broken Scroll Links in StudioPress Themes - RosalindGardner.com","og_description":"I wouldn't have known that there were broken scroll links on my Affiliate Blogger PRO site, if not for an email with the subject line &#8220;I KEEP PRESSING THE SIGN-UP BUTTON! ARE others having this problem?!&#8221;. Sure enough, when I tested the scroll links on the homepage, none of them were working &#8211; which doesn't [&hellip;]","og_url":"https:\/\/rosalindgardner.com\/blog\/fix-broken-scroll-links-studiopress-themes\/","og_site_name":"RosalindGardner.com","article_publisher":"https:\/\/www.facebook.com\/RosalindGardnerOnline?ref=hl","article_author":"https:\/\/www.facebook.com\/RosalindGardnerOnline","article_published_time":"2018-07-30T22:16:51+00:00","article_modified_time":"2018-07-30T22:17:45+00:00","og_image":[{"url":"https:\/\/rosalindgardner.com\/blog\/wp-content\/uploads\/Affiliate-Blogger-PRO.jpg"}],"author":"Rosalind Gardner","twitter_card":"summary_large_image","twitter_creator":"@rosalindgardner","twitter_site":"@rosalindgardner","twitter_misc":{"Written by":"Rosalind Gardner","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/rosalindgardner.com\/blog\/fix-broken-scroll-links-studiopress-themes\/","url":"https:\/\/rosalindgardner.com\/blog\/fix-broken-scroll-links-studiopress-themes\/","name":"How to Fix Broken Scroll Links in StudioPress Themes - RosalindGardner.com","isPartOf":{"@id":"https:\/\/rosalindgardner.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/rosalindgardner.com\/blog\/fix-broken-scroll-links-studiopress-themes\/#primaryimage"},"image":{"@id":"https:\/\/rosalindgardner.com\/blog\/fix-broken-scroll-links-studiopress-themes\/#primaryimage"},"thumbnailUrl":"https:\/\/rosalindgardner.com\/blog\/wp-content\/uploads\/Affiliate-Blogger-PRO.jpg","datePublished":"2018-07-30T22:16:51+00:00","dateModified":"2018-07-30T22:17:45+00:00","author":{"@id":"https:\/\/rosalindgardner.com\/blog\/#\/schema\/person\/e1a2787f4571b58c05f7c8cd6a98fa9f"},"breadcrumb":{"@id":"https:\/\/rosalindgardner.com\/blog\/fix-broken-scroll-links-studiopress-themes\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/rosalindgardner.com\/blog\/fix-broken-scroll-links-studiopress-themes\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/rosalindgardner.com\/blog\/fix-broken-scroll-links-studiopress-themes\/#primaryimage","url":"https:\/\/rosalindgardner.com\/blog\/wp-content\/uploads\/Affiliate-Blogger-PRO.jpg","contentUrl":"https:\/\/rosalindgardner.com\/blog\/wp-content\/uploads\/Affiliate-Blogger-PRO.jpg","width":800,"height":392},{"@type":"BreadcrumbList","@id":"https:\/\/rosalindgardner.com\/blog\/fix-broken-scroll-links-studiopress-themes\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/rosalindgardner.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Fix Broken Scroll Links in StudioPress Themes"}]},{"@type":"WebSite","@id":"https:\/\/rosalindgardner.com\/blog\/#website","url":"https:\/\/rosalindgardner.com\/blog\/","name":"RosalindGardner.com","description":"Learn Blogging &amp; Affiliate Marketing with Rosalind Gardner","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/rosalindgardner.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/rosalindgardner.com\/blog\/#\/schema\/person\/e1a2787f4571b58c05f7c8cd6a98fa9f","name":"Rosalind Gardner","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/rosalindgardner.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/76d7f9fe48227e9a6f4b6c1d3f786941?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/76d7f9fe48227e9a6f4b6c1d3f786941?s=96&d=mm&r=g","caption":"Rosalind Gardner"},"description":"Super affiliate, blogger, and speaker, Rosalind is best known for her affiliate marketing training in the Super Affiliate Handbook: How I made $436,797 in One Year Selling Other Peoples' Stuff Online. You can connect with her on Facebook.","sameAs":["https:\/\/rosalindgardner.com\/blog\/sah","https:\/\/www.facebook.com\/RosalindGardnerOnline","https:\/\/www.pinterest.ca\/rosalindgardner\/","https:\/\/x.com\/rosalindgardner","https:\/\/www.youtube.com\/user\/rosalindgardner"],"url":"https:\/\/rosalindgardner.com\/blog\/author\/rosalindgardner\/"}]}},"_links":{"self":[{"href":"https:\/\/rosalindgardner.com\/blog\/wp-json\/wp\/v2\/posts\/15724"}],"collection":[{"href":"https:\/\/rosalindgardner.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rosalindgardner.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rosalindgardner.com\/blog\/wp-json\/wp\/v2\/users\/577"}],"replies":[{"embeddable":true,"href":"https:\/\/rosalindgardner.com\/blog\/wp-json\/wp\/v2\/comments?post=15724"}],"version-history":[{"count":0,"href":"https:\/\/rosalindgardner.com\/blog\/wp-json\/wp\/v2\/posts\/15724\/revisions"}],"wp:attachment":[{"href":"https:\/\/rosalindgardner.com\/blog\/wp-json\/wp\/v2\/media?parent=15724"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rosalindgardner.com\/blog\/wp-json\/wp\/v2\/categories?post=15724"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rosalindgardner.com\/blog\/wp-json\/wp\/v2\/tags?post=15724"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}