# Blog template scroll/load problem

**URL:** <https://community.hubspot.com/t/blog-template-scroll-load-problem/17461>\
**Category:** CMS Development\
**Tags:** content\
**Created:** [November 27, 2019, 9:13pm UTC](https://community.hubspot.com/t/blog-template-scroll-load-problem/17461 "2019-11-27T21:13:44Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![rquinn](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rquinn/32/9373_2.png) [@rquinn](https://community.hubspot.com/u/rquinn)\
**Post date:** [November 27, 2019, 9:13pm UTC](https://community.hubspot.com/t/blog-template-scroll-load-problem/17461/1 "2019-11-27T21:13:44Z")

</div>

I purchased the Awaal blog template from the hubspot marketplace. When the page loads, the browser thinks the hero section is the whole page and doesn’t scroll down. Then if I scroll again, I can see the rest of the page. Also, this behavior happens anywhere on the page if I change scroll directions. If I stop scrolling and then scroll the other way, the page thinks what’s on the screen is the entire page unless I stop and scroll again.

I’ve tested in chrome, safari, and firefox. All have this same problem.

Hubspot support suggested there could be conflicting JS on the page but couldn’t resolve the issue. They suggested I post the problem here. Thanks in advance for your help!

This is the blog template so far: [https://preview.hs-sites.com/\_hcms/preview/template/multi?blog\_listing=true&content\_group\_id=null&is\_buffered\_template\_layout=true&portalId=4045567&tc\_deviceCategory=undefined&template\_layout\_id=19583705599&updated=1572555965287](https://preview.hs-sites.com/_hcms/preview/template/multi?blog_listing=true&content_group_id=null&is_buffered_template_layout=true&portalId=4045567&tc_deviceCategory=undefined&template_layout_id=19583705599&updated=1572555965287)

---

<div class="post-metadata">

**Author:** ![alyssamwilie](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/alyssamwilie/32/2072_2.png) [@alyssamwilie](https://community.hubspot.com/u/alyssamwilie)\
**Post date:** [November 28, 2019, 1:45am UTC](https://community.hubspot.com/t/blog-template-scroll-load-problem/17461/2 "2019-11-28T01:45:48Z")

</div>

It looks like in the Awwal\_Blog\_Template stylesheet it has overflow-x: hidden set on html and body. I removed it using the browser inspector and the scrolling stopped behaving oddly.  
So, look for this piece of code in the stylesheet

```auto
html, body {
 min-height: 100%;
 margin: 0;
 padding: 0;
 max-width: 100%;
 overflow-x: hidden;
}

```

and remove **overflow-x: hidden;** from it.  
Also, I’m seeing some jQuery errors in the console. Your site looks to be running 1.7.x. If you go to Settings \> Website \> Pages and scroll down to jQuery; change the jQuery version to 1.11.x. It may be 1.7.x is incompatible with the theme.

Alyssa Wilie

_Web Developer_  
**LyntonWeb**

---

<div class="post-metadata">

**Author:** ![rquinn](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rquinn/32/9373_2.png) [@rquinn](https://community.hubspot.com/u/rquinn)\
**Post date:** [November 28, 2019, 2:25pm UTC](https://community.hubspot.com/t/blog-template-scroll-load-problem/17461/3 "2019-11-28T14:25:41Z")

</div>

Hi Alyssa, thanks for your response! I updated jQuery version to 1.11.x and removed

` overflow-x: hidden;`

but this didn’t fix the scroll issue I’m seeing. Also, the featured blog slider at the top of the page works when I preview the blog but it doesn’t when I make the blog live. It just stays on the first image. It doesn’t auto scroll and it doesn’t manually scroll if I click the arrows.

FYI I’ve made the blog live so it’s easier to check out. This is where you can find the live version after I updated jQuery and removed overflow-x: hidden;

[https://blog.brightguest.com/](https://blog.brightguest.com/)

Please let me know if you have any other suggestions. Thanks!

---

<div class="post-metadata">

**Author:** ![alyssamwilie](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/alyssamwilie/32/2072_2.png) [@alyssamwilie](https://community.hubspot.com/u/alyssamwilie)\
**Post date:** [November 29, 2019, 4:20am UTC](https://community.hubspot.com/t/blog-template-scroll-load-problem/17461/4 "2019-11-29T04:20:54Z")

</div>

Hey @rquinn  
I’m actually still seeing the overflow: hidden in the styles and jquery 1.7 being used. Can you update again just so I can see if it had any effect on the errors in the console I’m seeing?

 ![Screen Shot 2019-11-28 at 10.14.16 PM.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/b/3/b3086a69e65de5e29f857ad0e569b55358e57035.jpeg)

Alyssa Wilie  
_Web Developer_  
**LyntonWeb**

---

<div class="post-metadata">

**Author:** ![rquinn](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rquinn/32/9373_2.png) [@rquinn](https://community.hubspot.com/u/rquinn)\
**Post date:** [November 29, 2019, 5:17am UTC](https://community.hubspot.com/t/blog-template-scroll-load-problem/17461/5 "2019-11-29T05:17:11Z")

</div>

@alyssamwilie I changed it back to 1.7.x, saved, then back to 1.11.x, saved.

 ![jquery_1.11.png](https://d2qpr2jzcazej7.cloudfront.net/original/1X/4b015bee40b7a6ffdf20dd295678c5fdb0e4e3e3.png)

I reached out to the dev for this template and they said, “…it’s not a CSS related issue. Your jQuery is conflicting with the template. If you look at the browser console you can see the jQuery error. I’m pretty sure this is the main reason you’re getting two scroll bars in your template. Take a look at the screenshot below.”

 ![Unknown.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/e/e36612512cc7d89c90b64bbcd18a051bab1ac39f.png)

---

<div class="post-metadata">

**Author:** ![alyssamwilie](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/alyssamwilie/32/2072_2.png) [@alyssamwilie](https://community.hubspot.com/u/alyssamwilie)\
**Post date:** [November 29, 2019, 6:02am UTC](https://community.hubspot.com/t/blog-template-scroll-load-problem/17461/6 "2019-11-29T06:02:11Z")

</div>

The scrollbar is working just fine for me now with the overflow: hidden; gone.  
However you still have the issue of the carousel not working.  
Is it possible the 1.7.x is built into the template because I’m still seeing it in the page. The ‘error’ they’re pointing out is actually just a ‘warning’ they’re seeing because they have content blocking enabled (as noted in the warning above that) because that script is for Hubspot analytics. It wouldn’t have any effect on a carousel. This is the error I’m seeing on my end (in red):

 ![Screen Shot 2019-11-28 at 11.58.10 PM.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/1/0/10ef3da8b14c4ada0a143f1a5b7f4f6fe4b77c1f.png)

which is a known issue with jQuery 1.7  
Alyssa Wilie  
_Web Developer_  
**LyntonWeb**

---

<div class="post-metadata">

**Author:** ![rquinn](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rquinn/32/9373_2.png) [@rquinn](https://community.hubspot.com/u/rquinn)\
**Post date:** [November 29, 2019, 3:27pm UTC](https://community.hubspot.com/t/blog-template-scroll-load-problem/17461/7 "2019-11-29T15:27:47Z")

</div>

Turns out I wasn’t specifying the domain when updating to JQuery 1.11.x. Now I see that everything is working. Thanks for your help! Happy TG.

---

<div class="post-metadata">

**Author:** ![alyssamwilie](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/alyssamwilie/32/2072_2.png) [@alyssamwilie](https://community.hubspot.com/u/alyssamwilie)\
**Post date:** [November 29, 2019, 11:04pm UTC](https://community.hubspot.com/t/blog-template-scroll-load-problem/17461/8 "2019-11-29T23:04:27Z")

</div>

Glad it all worked out!

Alyssa Wilie

_Web Developer_

**LyntonWeb**
