Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

Portfolio page template issue

Filterportfoliopositiontag
    • 8 years, 10 months ago Vcanal
      Participant

      Expired

      Hi, on my portfolio page with categories the site always rolls up to the top when any category is clicked. Please advise.

    • 8 years, 10 months ago Kris
      Participant

      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!

    • 8 years, 10 months ago Vcanal
      Participant

      Expired

      Hey Kris,
      here you can see the issue:
      https://grupavcanal.pl/realizacje

      I also updated profile info with site credentials if you needed. Thanks.

    • 8 years, 10 months ago Mirela
      Participant

      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!

    • 8 years, 10 months ago Vcanal
      Participant

      Expired

      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.

    • 8 years, 10 months ago Mirela
      Participant

      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!

    • 8 years, 10 months ago Vcanal
      Participant

      Expired

      Guys, now everything is just perfecto. Thank you very much!

      • This reply was modified 8 years, 10 months ago by Vcanal.
    • 8 years, 10 months ago Vcanal
      Participant

      Expired

      The issue is resolved.

Viewing 7 reply threads

You must be logged in to reply to this topic.

Login

Log In
Register

Renew Support

  • Renew Specular Support
  • Renew Tower Support
  • Renew Folie Support
  • Renew Handel Support
  • Renew June Support
  • Renew Picante Support
  • Renew Thype Support
  • Renew Regn Support

Search Forums

Forums

  • Bygge – Construction Theme
  • Converta – Software Theme
  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress Theme
  • Livecast – Podcast Theme
  • Picante – Restaurant & Food WordPress Theme
  • Regn | Agency & Business WordPress Theme
  • Remake – Minimal Portfolio & Agency Theme
  • Specular – Multi-Purpose WordPress Theme
  • Suggest us Features
  • Tower – Business-Driven Multipurpose WP Theme
  • Vibrance – Photography Theme

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password