Homepage › Community Forums › Ambition › Front Page 1 Widget Content
Hello,
The widget content inside the Front Page 1 section does not appear when first arriving at my site. This just started happening today.
Here’s a link: becomingintime.com
Originally, when you arrived at the homepage, the widgets that are configured would immediately appear by slowly fading in.
Now, when you arrive at the page, you only see the background image. You have to scroll down a bit before “a quiet space…” and the subscribe button fade in. I’d like this content to automatically start fading in when arriving at the site. Again, this was all fine until today.
(The Front Page 2 section is working well. My issue only concerns the Front Page 1 section.)
Any help would be appreciated!
Thanks,
Liz
Do you have any plugins that you installed recently (after it was working)? I’m not sure what’s causing it to do that, but I’m wondering if there’s a javascript conflict somewhere…
Have you made any custom changes to your theme Files?
Thanks so much for your reply.
Yes, I was installing and uninstalling some plugins yesterday, though I didn’t end up using or keeping any new ones. I did add some code to the theme’s Functions file, and those additions are currently live.
In case this is useful info, the issue with the home page began while I was working on my sidebar using the front end customizer. The home page started acting up right after I clicked on Front Page Background Images, though I didn’t make any changes there. Also, at the same time, the front end customizer stopped recognizing the widget areas on most of my pages. It gives me a notice that “this particular page doesn’t display them” while the widget areas are right there on the page. (Obviously, I’m not looking for that issue to be solved – I just wanted to mention it in case it’s related to the Front Page 1 problem.)
Again, thank you for looking into this. I’m incredibly grateful.
Yeah that’s weird, I’ve never seen or heard of that happening before.
I’ve even checked the demo and my local installs of this theme and it works fine. There must be something added somewhere that’s causing it to do that.
If you want, I can login and take a quick look to see if anything stands out. All I would need is a temporary login.
Other than that, I guess you could try disabling the fade-in effect if we can’t figure out the source of the issue…(let’s try and see where it’s coming from first).
Ok, after searching all of your settings, plugins, and theme files, it looks like the error is coming from some custom code you added to your functions file. If you look at the last block of code in your functions file you’ll see this –
//* Put Genesis Simple Share below post meta data
add_action( 'genesis_after_entry', 'bg_reposition_simple_share', 1 );
function bg_reposition_simple_share() {
if( 'post' === get_post_type() ) {
genesis_share_icon_output( 'before_entry_header', array( 'facebook', 'pinterest', 'twitter', 'googlePlus', 'linkedin', 'stumbleupon' ) );
}
}
That’s where it’s coming from. Not sure why exactly, but that’s it.
I’ve Commented it out for now so you can see the homepage works when the code isn’t active. If you want to add it back, then you can uncomment the code.
If you absolutely need the code that you added in the functions file, then you can keep it as it is, but you would need to remove the fadeup effect. That would mean the text would show up instantly like a regular site with no fade effects when it’s loaded.
Thank you for finding the problem. I wouldn’t have made that connection by myself very quickly.
I’d really like to keep the fade effect on the home page, so I’ll search for a different solution to the functions customization I’m looking for.
Thanks for your help!
You’re Welcome!
Let me know when your site is ready so I can share it on Social Media.