-
Search Results
-
I wanted to increase the Google speed insight score on mobile devices, I activated infinite jetpack scrolling, the score increases but is not displayed correctly, you have some advice my problem is the contents above the fold.
My site
Topic: Infinite Scroll
Hi, need to have infinite scroll instead of classical pagination in my Enfold Theme, can you help me please? Thanks Gianluca from Italy
Portfolio scrolling image keeps going infinitely and showing images that are outside of that portfolio.
I ended up using this solution to disable it https://kriesi.at/support/topic/disable-portfolio-navigation-gallery-lightbox/But ideally I would want it to work correctly without showing other images outside of that portfolio. Even when I select the number of images it still shows more
Topic: Enfold conflict with plugins
Hello.
We have a development site that is having serious conflicts with Enfold.https://wordpress.org/plugins/yith-infinite-scrolling/
When activated, both WooThumbs and YITH Infinite Scrolling plugins are causing saving errors in Theme Options.
The infinite Scrolling plugin duplicates content on a page instead looping through products once and stopping.
I have also tried 3 additional plugins and all do the same: load the same images repeatedly.Regenerate Thumbnails plugin throws this error when regenerating thumbnails:
function (){if(!d){var c=arguments,g,h,i,j,k;b&&(k=b,b=0);for(g=0,h=c.length;gPlease help.
I had a client who wanted infinite scroll for the articles on their site. Found a few posts related to Enfold and infinite scroll but nothing that was a concrete answer for what I wanted to do — using the Avia Template Builder I created a section page (it’s for a magazine) that has a blog posts content block at the bottom. I wanted that block to scroll. Turned out to be fairly simple to implement, posting this here in case it helps others.
In your child theme’s — you are using one, right ;) — functions.php file add the following:
/** * Add infinite scroll to section pages like Eat / Drink * Uses https://github.com/pklauzinski/jscroll */ add_action( 'wp_enqueue_scripts', 'load_jscroll' ); function load_jscroll(){ wp_enqueue_script('jscroll', get_stylesheet_directory_uri().'/js/jquery.jscroll.min.js', array( 'jquery') ); } function infinite_scroll() { global $avia_config; echo '<script type="text/javascript"> jQuery( ".content" ).jscroll( { nextSelector: "span.current + a", contentSelector: ".article-grid", autoTrigger: true } ) </script>'; } add_action( 'wp_footer', 'infinite_scroll' );On your page insert your blog posts element with pagination enabled. I gave mine a custom CSS class of article-grid to make it easy to target that portion of the page. In the code above you see the contentSelector parameter — that’s an optional parameter that lets you select only a portion of a page to be appended by infinite scroll. Since my page has lots of items at the top that I don’t want being reloaded as I scroll I use the custom css class to only grab the next batch of articles.
When you get to the last batch of articles you would normally see the pagination, which I didn’t want. A quick css rule takes care of that:
/** hide navigation since we're using jQuery infinite scroll */ nav.pagination{ display:none; }This is a pretty bare bones example. I’m using infinite scroll everywhere so I didn’t limit this to specific pages or content types (which you could easily do by wrapping the infinite_scroll() function in some conditional checks. Ex: is_frontpage() if you only wanted this to apply to the homepage of your site.
You can grab the js file here: github link as well as see the other options available to you.
Hopefully that helps someone else get going. Works perfectly for our needs.
Hi guys,
so it seems like that something part of the below css:
/*Scroll-Down-Icon – Start*/
@-webkit-keyframes ani-mouse {
0% {
opacity: 1;
top: 29%;
}
15% {
opacity: 1;
top: 50%;
}
50% {
opacity: 0;
top: 50%;
}
100% {
opacity: 0;
top: 29%;
}
}
@-moz-keyframes ani-mouse {
0% {
opacity: 1;
top: 29%;
}
15% {
opacity: 1;
top: 50%;
}
50% {
opacity: 0;
top: 50%;
}
100% {
opacity: 0;
top: 29%;
}
}
@keyframes ani-mouse {
0% {
opacity: 1;
top: 29%;
}
15% {
opacity: 1;
top: 50%;
}
50% {
opacity: 0;
top: 50%;
}
100% {
opacity: 0;
top: 29%;
}
}
.scroll-btn {
display: block;
position: absolute;
left: 0;
right: 0;
top: 92%;
text-align: center;
}.scroll-btn > *:hover,
.scroll-btn > *:focus,
.scroll-btn > *.active {
color: #ffffff;
}
.scroll-btn > *:hover,
.scroll-btn > *:focus,
.scroll-btn > *:active,
.scroll-btn > *.active {
opacity: 0.8;
filter: alpha(opacity=80);
}
.scroll-btn .mouse {
position: relative;
display: block;
width: 24px;
height: 34px;
margin: 0 auto 20px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
border: 2px solid white;
border-radius: 23px;
}
.scroll-btn .mouse > * {
position: absolute;
display: block;
top: 29%;
left: 50%;
width: 4px;
height: 8px;
margin: -4px 0 0 -2px;
background: white;
border-radius: 50%;
-webkit-animation: ani-mouse 2.5s linear infinite;
-moz-animation: ani-mouse 2.5s linear infinite;
animation: ani-mouse 2.5s linear infinite;/*Scroll-Down-Icon – End*/
is causing an issue with the below css for the footer background colour:
/*Footer – Start*/
#footer .flex_column.av_one_third {
background: #f4f4f4 !important;
}#footer .flex_column.av_one_third:nth-child(2) {
background: #f9f9f9 !important;
}#footer .flex_column.av_one_third:nth-child(3) {
background: #f4f4f4 !important;
}/*Footer – End*/
as well as:
/*Portfolio – Start*/
#top .av-caption-style-overlay .av-masonry-entry .av-masonry-entry-title {
font-size: 35px;
}.av-inner-masonry-content:hover {
background-color: rgba(54, 212, 46,.6)!important;
}/*Portfolio – End*/
as well as:
/*Back to top link – Start*/
#scroll-top-link {
display: none!important;
}/*Back to top link – End*/
Can you think of a solution?
Thanks
Hello
I would like to disable enfold pageintation in Woocommerce category pages, and instead re-enable Woo pageination since its unactivated in enfold. Is there a way to do this without hacking the theme files?
The reason why i want to do this is because i want to use “YITH Infinite Scrolling” which requires the “Next page” been identified in html.
Thanks!
Hi,
how can I setup an infinite scroll when using the Product Grid component on a page?
I’ve test a lot of plugins that enable infinite scroll with no success.
Thank you!
Topic: Infinite Scroll
I’d like to be able to use Jetpack’s Infinite Scroll feature – http://jetpack.me/support/infinite-scroll/ – where should I add the code in the provided link to get the Infinite Scrolling option on the site?
Hi all,
Quick question, I am trying to set up a page that functions similar to the way Pinterest does with an infinite portfolio scroll. I can set the post number to ‘all’, but I want it to progressively load. I know Jetpack has a plugin to add that functionality to a site, does Enfold support that and if so, how would one go about implementing it on specific pages?
Thanks!
Hello,
I am trying to add lazy load functionality to my website made with Enfold, and I think I am close to make it work, however for now I keep getting repeated products as I scroll down.
I believe this is due to the default pagination from woocommerce being replaced by ‘avia_pagination’ ,which only displays numbered page links, and doesn’t have a ‘next page’ link, so I am having to set my ‘Next Selector’ for the lazy load as being
nav.pagination a:first, which I think is making the lazy load script keep loading the same products over and over.Could you help me replace the ‘avia_pagination’ on shop pages with WooCommerce’s default pagination? Or even just adding a ‘next page’ link/button to avia’s pagination.
Best regards,
JoséHello,
First let me say, love the theme, great support, tons of features that I love.
I’ve seen many posts about this so I’m just hoping for some good suggestions.I have about 100 images in a portfolio grid so it takes 15-30 seconds to load the page. I would like to have infinite scrolling or a “load more” button like the “Masonry Grid” but for portfolio items. I’m hoping this will help load times. If you know of other solutions to decrease load times, I’m happy to hear them.
The following are some ideas I’ve been thinking about to solve the problem.
1. I can’t lower the number of items shown and just add pagination because the sorting feature doesn’t work across multiple pages. It only sorts the items on the current page. If I could sort all items instead of just the ones shown on the current page, that would be great. Or if you can you recommend any portfolio grid plugins that would allow sorting across multiple pages..
2. I’m setting up cloudflare to parrallelize downloads but I don’t think it will be enough. I’ve also decreased the size of all images by two thirds but it didn’t help. It doesn’t seem to be the size but the number of requests.
3. I know that Enfold doesn’t offer infinite scrolling. So instead of using Enfold’s Portfolio Grid, could I install a “Portfolio Grid plugin” that has infinite scrolling, or is this dependent on the Enfold theme to work? (This would be my preferred solution if it’s possible)
4. Could I tweak the Masonry Grid element to only show portfolio items instead of blog posts so I could get the “Load More” button?
5. Could I just get a “Load More” button added to the “Portfolio Grid” instead of pagination? (This would be great if possible)
6. Currently, the page won’t show anything until all images are loaded. Is there a way to make the images start appearing as they load instead of waiting 15 seconds to show anything at all?
7. I’ve researched using sprites but this seems impossible with a responsive grid. Let me know if I’m wrong.
8. Can you recommend any portfolio grid plugins that would a
9. Lastly, is “Infinite scrolling” being considered for the future? If so, I can just wait :)
I attached a link to the page that is loading slow.
Thanks for your time and a great theme,
ChrisHi guys,
Is it possible to create an infinite scrolling page but horizontally? I also tried using the LayerSlider to create something like that with a parallax effect, but to no avail.
Thanks in advance!
Hi Guys,
Thanks for a great theme. Im working on a clients site http://www.dreamtexltd.com
I have a few issues Im hoping you can help out with.
1. Color sections with image bg.
First off…I have portfolio pages built with advanced builder.
Using colour sections as the first element on the page for a fullscreen image. (this is also happening on the home page 2nd section)
Set at 100% of browser height
No repeat (I tried stretch to fit and it has no change)
For some reason the images are being enlarged slightly and cropping some of the image off, can you take a look at this?
This is happening at all screen sizes. It is noticeable on some of the portfolio pages more than some of the others. The images are 2560 x1440px (16:9)
So I inspected element and came to here:
https://drive.google.com/file/d/0B_4yPg5NFl4UM2dhVEVjLXpCQTA/view?usp=sharing
https://drive.google.com/file/d/0B_4yPg5NFl4UaWtoaktwMFl4Nms/view?usp=sharing
If i set my browser to fullscreen (27in iMac) and play with the values setting the height to 1440px and reduce the webkit-transform: translate by 100-150px this displays how I want the image to look.
What controls/calculates these values? and how can I edit the way my images are being displayed.
Its as though the bottom of my browser is lower than it actually is making the image enlarge. Can this be reduced?
To best illustrate the issue I have set up the portfolio page http://dreamtexltd.com/portfolio-item/jcb/best show the issue.
At the top I have also placed a fullwidth slider set to original dimensions of the image…this handles the image and gives the desired look I need (no cropping)…however by adding this element it breaks the navigation for the portfolio…as in removes it completely.
Below this is the colour section using 100% browser height with the same image…you can see the difference in scaling on the image and the crop of the JCB…There’s too much
Basically I need the look of the fullwidth slide at the top whilst keeping the portfolio nav buttons left and right as all images have been produced to this dimensions already
Also whilst Im on this…when viewing on iPad 4 (retina) the same colour section image (every portfolio page) ignores and image alignment (i.e. top-center…centre-centre etc) and looks like it is set at bottom-centre….is this just the way the theme works or is something not working correctly on our site?
Which then brings me to issues 2 & 3 (iPad – Retina related – not sure about non-retina as I don’t have access)
https://drive.google.com/file/d/0B_4yPg5NFl4UaXd2bThveUlIQWs/view?usp=sharing
2. The menu when viewed in portrait mode on the same iPad switches to mobile mode however the desktop menu is still there behind the menu icon (screenshot)…how do I keep the mobile menu and remove the desktop? I have tried bits of snippets (obviously not correct ha!)
3. The grid row on the contact page is not collapsing to show each grid column individually (like on mobile) when on retina iPad – I’d like it to do so if possible (again there may be some CSS below that relates to this but is not correct)
Here is my custom CSS is there anything in there that could be causing these problems?
.main_color .avia-color-theme-color-subtle {
background-color: #ea5a2b;
color: #fff;
}
.slideshow_caption {
width: 59%;
}.caption_framed .slideshow_caption .avia-caption-content p, .caption_framed .slideshow_caption .avia-caption-title,
.avia-caption .avia-caption-content p, .avia-caption .avia-caption-title
{
background: #000;
filter: alpha(opacity = 80);
background: rgba(0, 0, 0, 0.5);
display: inline-block;
margin: 0 0 1px 0;
padding: 10px 3px;
}
#top .scroll-down-link {
height: 90px;
width: 80px;
margin: 0px 0 0 -40px;
line-height: 20px;
position: absolute;
left: 50%;
bottom:15px;
color: #FFF;
text-align: center;
font-size: 90px;
z-index: 100;
text-decoration: none;
text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.4);-webkit-animation: avia_fade_move_down 2s ease-in-out infinite;
animation: avia_fade_move_down 2s ease-in-out infinite;
}.widgettitle {
font-weight: 600;
text-transform: uppercase;
letter-spacing: 2px;
font-size: 1.1em;
margin-bottom: 20px;
color: #777 !important;
}
div .av_one_fourth {
margin-left: 2.5%;
width: 23%;
}@media only screen and (max-width: 989px) {
#scroll-top-link { display: block!important; }}span.scroll-down-text {
height: 60px;
width: 80px;
margin: 0px 0 0 -40px;
position: absolute;
left: 50%;
bottom: 0px;
color: #FFF;
text-align: center;
font-size: 20px;
z-index: 100;
text-decoration: none;
}
#top .avia-post-nav{
background: rgba(0,0,0,0.4);
border: 1px solid #ea5b2b;
}.main_color .related_image_wrap, .main_color .gravatar img .main_color .hr_content,
.main_color .news-thumb, .main_color .post-format-icon, .main_color .ajax_controlls a,
.main_color .tweet-text.avatar_no, .main_color .toggler, .main_color .toggler.activeTitle:hover, .main_color #js_sort_items, .main_color.inner-entry, .main_color .grid-entry-title,
.main_color .related-format-icon, .grid-entry .main_color .avia-arrow,
.main_color .avia-gallery-big, .main_color .avia-gallery-big, .main_color .avia-gallery img,
.main_color .grid-content, .main_color .av-share-box ul, #top .main_color .av-related-style-full .related-format-icon,
.main_color .related_posts.av-related-style-full a:hover, .main_color.avia-fullwidth-portfolio .pagination .current,
.main_color.avia-fullwidth-portfolio .pagination a, .main_color .av-hotspot-fallback-tooltip-inner,
.main_color .av-hotspot-fallback-tooltip-count {
background-color: #41235d;
color: #ea5b2b;
}Thanks
Ric
