-
-
Hi, on my portfolio page with categories the site always rolls up to the top when any category is clicked. Please advise.
-
Hello,
This doesn’t happen on our side.
What theme version do you have? Have you installed many third party plugins?
Send us a link where this is running to visualize better the issue.Best regards!
-
Hey Kris,
here you can see the issue:
https://grupavcanal.pl/realizacjeI also updated profile info with site credentials if you needed. Thanks.
-
Hello,
I created a copy of your portfolio page and this does not happen. Please see here: https://grupavcanal.pl/testing
I see no issue in your page except the fact that you have many other third party plugins installed. I suggest you to try and recreate the page again.
Let us know if the issue persists.Best regards!
-
Guys, please scroll down portfolio page even slightly and click on category button. It always resets page scroll position to top top of the page.
I just recreated the page with default settings and the problem persists.
-
Hello,
Sorry for the late reply.
Please go to file portfolio.php and find these lines:<nav id="portfolio-filter" class="span12"> <ul class=""> <li class="filter active all" data-filter="all"><a href="#" class="filter active" data-filter="all"><?php _e('View All', 'codeless') ?></a></li> <?php foreach($cl_redata['portfolio_categories'] as $cat): ?> <?php $cat = get_term($cat, 'portfolio_entries'); ?> <?php if(is_object($cat)): ?> <li class="other filter" data-filter=".<?php echo esc_attr($cat->slug) ?>"><a href="#" class="filter" data-filter=".<?php echo esc_attr($cat->slug) ?>"><?php echo esc_html($cat->name) ?></a></li> <?php endif; ?> <?php endforeach; ?> </ul> </nav>
Replace with this:
<nav id="portfolio-filter" class="span12"> <ul class=""> <li class="filter active all" data-filter="all"><a href="#" class="filter active" data-filter="all" onclick="return false;"><?php _e('View All', 'codeless') ?></a></li> <?php foreach($cl_redata['portfolio_categories'] as $cat): ?> <?php $cat = get_term($cat, 'portfolio_entries'); ?> <?php if(is_object($cat)): ?> <li class="other filter" data-filter=".<?php echo esc_attr($cat->slug) ?>"><a href="#" onclick="return false;" class="filter" data-filter=".<?php echo esc_attr($cat->slug) ?>"><?php echo esc_html($cat->name) ?></a></li> <?php endif; ?> <?php endforeach; ?> </ul> </nav>
Let us know.
Best regards!
-
-
You must be logged in to reply to this topic.