Website scrolls down forever!

Posted in: Newsmag
Post count: 30

Not sure why this has happened twice now but, it seems as though there is invisible content that causes the site to scroll for a very long time when there is nothing there. Not sure if thats the right way to explain it but, its the best I got! lol. http://www.gonzookanagan.com

I am also trying to figure out where to put keywords in with this theme for Google? Thank you

Post count: 9544

Keywords for Google are put into your title tags, post title, h1 and h2 tags on page, story excerpt, etc. Google has not used “keywords” in meta tags for a decade now. Using YOAST SEO allows you to fine tune per page and per post your meta data, and to use keywords in meta if desired. If using a custom field, you might need to manually add a hook into your header.php to insert the field, or use a function to enqueue the custom field with the head elements done by WP. If your site is in Google News, consider using the Yoast News SEO add-on or similar.

Not sure that helps or not 🙂

Post count: 6535

HI


@bradkrauza
try this css in theme panel > custom code > custom css: http://screencast.com/t/yH6G6SEzh36

.td-sub-footer-container .td-pb-span4, .td-sub-footer-container .td-pb-span8{
margin-bottom: 0!important;
padding-bottom: 0!important;
}

Thanks!

Post count: 30

The home page seems to be fine now but all the posts scroll forever still.

Post count: 30

Great thanks Chris. I do have YOEST SEO installed and customized to the best of my ability for my latest post. Thank you! Just making sure I wasnt missing anything there. 🙂
Any suggestions on the posts scrolling on forever issue?

Post count: 9544

Weird. It DOES scroll down forever.

Couple of things to try:
a) disable the contact form 7 loading on single posts if you only use on pages — wasteful there

b) try changing background to solid color as it might be the “size” of the background image; often smaller “tiled” image better than “big giant image” — this used to be issue in old HTML hand coding days, but only thing there that “might” be culprit

c) you might have to disable plugins one by one to see if smoething is loading hidden element “below” the end of the HTML container; we had issues with this back in the day with certain social sharing plugins

stuff to try anyway …

btw, if you’d like to “syndicate” our news, you can do so from here:
https://www.send2press.com/wire/rss-feeds-by-topic/

Example of another regional site syndicating our stuff onto a ‘national’ page:
http://tippnews.com/category/national-news/

Post count: 30

Great stuff thanks Chris!
I will definitely look at the rss feed links you have there! I am missing a few things such as sports, film and culture and charity.

Post count: 30

Looks like there is a newsmag child theme option. Not sure what the designer did there or if its needed but it fixed the scrolling on all posts issue. :/

Post count: 9544

Yeah!!! I don’t use the child theme as it’s a redirect for one thing, and second — as theme evolves and you need to update stuff, using child them doesn’t really serve intended purpose.

In olden days, a child theme allowed one to make a “alternate” version of main theme, with different look/feel.

However, issue becomes with complex themes that having to update TWO themes at once for one site is nightmare.

Have not used child theme in years due to that. But I’m a weirdo!

Post count: 30

Yes, I am not sure why its there but it stopped the long scrolling posts so, I’m unsure what to do there. Hopefully someone comes up with an answer. I’ve disabled all the plugins just to make sure and they didnt make a difference.

Post count: 9544

Some people like child themes. Some “frameworks” use them as the framework doesn’t often break the CSS, and so easy to make sub-designs of main design — idea being you can update main theme and child theme changes are left alone. In practice, however with all the WP changes, security changes, etc., child themes end up changing every few major theme update –totally defeats the purpose. So, I avoid them like the plague.

You don’t have to use it; so my rule of thumb for most clients is “if you don’t know why you have a child theme option, don’t use it …” 🙂

I find its safer to make changes to the “main” theme, then keep track of those changes with each major update.

Post count: 30

I switched it bacn to the regular Newsmag theme but I still now have the scrolling forever issue… Still looking for an answer if anyone else has any more ideas? Thank you. 🙂

Post count: 62

Hi Bradkrauza,

I have seen this happen when older versions of the Newsmag style sheet when a custom CSS has been added somewhere – upsetting their placeholden span hacks.

I can see in this example that on your style sheet you have .td-pb-row [class*=”td-pb-span”] adding in a margin of -99998px and then a padding of 99999px.. – You will find it on your style sheet at around line 1438 (style.css)

I seem to recall the TagDiv guys did this type of hack in Version 2 of the code – don’t think they do it anymore… Are you running V2 code? If so, maybe a full careful upgrade to v3 is required here, or just remove the padding/margin element from the offending element – TagDiv people – any explanation as to why you guys put this big block in v 2.37 of the code – I ran into this once before myself, couldn’t figure out why you guys put it there…? It’s not in the current code..

.td-pb-row [class*=”td-pb-span”] {
border-left: 1px solid #e6e6e6;
display: block;
float: left;
margin-bottom: -99998px !important;
margin-left: 0;
min-height: 1px;
padding-bottom: 99999px;
}

I think if you took out the margin-bottom and padding-bottom, the gap would go away – but I don’t know why they did it in the first place, so something else will probably break.

  • This reply was modified 9 years by jsup.
Post count: 30

Hi Jsup,
Thanks so much for the info. Are you talking about the styles.css sheet in the custome code area of the theme template? I dont see much code there so just curious as to where you found it. Thanks. Very much appreciated. 🙂

Post count: 62

Hey Brad,

I found it by running firebug over your site and highlighting the element.
The code I am referring to is in the theme’s style.css file in the root of the theme – as I said, I came across the same issue myself some time ago – I’ve checked since my last post and it doesn’t exist in Version 3 of the theme. I removed it using firebug, and your page seemed to behave. Without knowing why they put it in there, I can’t be 100% sure it won’t disrupt something – I couldn’t see anything obvious… but if you take them out, the problem will go away… fairly sure.

  • This reply was modified 9 years by jsup.
Post count: 30

Yes, thanks for that. Just having a problem actually finding where you are seeing it on line 1438 of the themes style.css. I can get my way around “ok” but obviously I may be in the wrong .css file.

Post count: 62

Oh sorry – if you were to look at the files behind your site via FTP, you’ll probably find a folder somewhere near the top:

public_html

Under that you should find:
wp_content/themes/Newsmag

In that folder, you should see a file called style.css – this file contains pretty much all of the Themes base css code. The lines are in there. Make a copy of this file, modify it and that should be all you need to do.

Post count: 30

Yes, thanks. Thats where I went and this is line 1438 and I dont see it. http://gonzookanagan.com/gonzo-style.PNG

Post count: 62

Strange.. It makes me think you might be looking at the wrong file!…

This file here at your site is what I am talking about: http://gonzookanagan.com/wp-content/themes/Newsmag/style.css shows it on line 1444 and 1445

Anyway – since you’re using notepad++ by the looks – search for this text:
.td-pb-row [class*=”td-pb-span”]

It should be soon after that line.

Ah! I see the line numbering issue – you are opening it on a Windows machine and it is double line feeding – so just double the number… maybe around line 2888 ?

  • This reply was modified 9 years by jsup.
  • This reply was modified 9 years by jsup.
Post count: 30

Thats it!!! Whoooooo! lol. 2888! 🙂
Thank you so much man!

Post count: 62

No problem – hope it helps… After 3 years with this theme – I do still love it so much but with all the layers of abstraction (and unexplained css hacks and old elements overwriting each other from older versions), the speed at which the pages load is now crippling my site.. I’ve decided to strip out all unnecessary bells and whistles for my needs.. I mean the css file is 712kb and almost 200k for just the home page (and that’s before any media content)!!! Wish me luck!

  • This reply was modified 9 years by jsup.
Post count: 30

I hear ya. I have been warned about the slow loading speed. Just started running this theme a couple months ago. Love the look but this is a concern along with security. We’ll see how things go! 🙂

Post count: 9544

FYI, v 3.1 with the TD composer is wicked faster. You can read my long winded optimization thread on some of my tweaks after finally moving from 1.7 to 3.1, skipping the 2x gen. Very happy with 3.1 so far. 🙂

Post count: 62

brad: Security with this theme is quite good – you just need to make sure you’re on the latest releases. I’d encourage you to look at upgrading to v3.1 when possible – if you bought the theme from Themeforest; it should be available for download there.

Chris: Great! I recently upgraded to 3.1; Although I have so many extra bits and pieces running on my site, I need to cut things down – I have set up a paywalled section for my customer with premium content, running woo commerce, subscriptions, members, bbpress, etc. I need to do something to speed things up. I have an events plugin that is just too slow with this theme I can’t even use it. The whole site runs quite nicely with default themes. I’ve only just started on my journey pulling out the extra bells and whistles – for instance; the td-backstretch routines: I can get by with a static standard backstretch image; I don’t need all the shiny js that they’ve implemented there, I dont need a 700k css file, etc. I understand why they have done it the way they have, it’s just too diverse now and for poor little servers like mine, it’s just too much. I’ll probably quit and give up before I finish haha.

Post count: 9544

Ah. I minified mine to 487kb, and then when loaded via gzip/deflate on our server it’s much smaller, about 57kb. So, you can do quite a bit of trickery there 🙂

Viewing 25 posts - 1 through 25 (of 27 total)
The forum ‘Newsmag’ is closed to new topics and replies.