queue  41
support
Results 1 to 7 of 7

Thread: Smoothscroll problem in main menu

  1. #1
    Junior Member
    Join Date
    Feb 2016
    Posts
    1

    Smoothscroll problem in main menu

    Hello,

    I have the same problem as many: the smooth control not working... I saw that only you can patch it.

    Can you fix it for me please?

    Here are de details:


    ** Hidden Content: You don't have sufficient privileges to see this hidden data **


    Thank you!!

  2. #2
    Lead Support Ante's Avatar
    Join Date
    Oct 2012
    Posts
    16,930
    Hello, it should work properly now.

    For future reference, I edited the file PeThemeMagnum.php found in magnum/theme/php/PeTheme/

    On line 154 I changed
    PHP Code:
    this: if (!empty($item->post_parent) && 'page_home.php' === get_page_template$item->post_parent ) ) { 
    to this:
    PHP Code:
    if (!empty($item->post_parent) && 'page_home.php' === get_page_template_slug$item->post_parent ) ) { 

  3. #3
    Thanks for the follow up. Typically I host wordpress with access to cPanel / ftp. For my current site, I chose wordpress hosting via godaddy. I cannot seem to locate PeThemeMagnum.php within the admin area of wordpress. Any help locating that? Thanks.


    ** Hidden Content: You don't have sufficient privileges to see this hidden data **


    Thanks!
    Cris

  4. #4
    I've managed to update the php file. Wordpress hosting allows access to some files via ftp. Editing the file worked! Thank you!

  5. #5
    Lead Support Ante's Avatar
    Join Date
    Oct 2012
    Posts
    16,930
    Glad you managed to edit it.

    For future reference, you can edit it from WordPress as well by installing WP Editor plugin. It changes post editor as well so I recommend deactivating it after you are done, but it's great for when you need deeper theme/plugin edits from within the WP Dashboard.

  6. #6
    Junior Member
    Join Date
    Nov 2016
    Posts
    4
    Hi, I've tried udpdating the PHP file but it's still now working for me. It's still snapping to the page instead of smooth scrolling.

  7. #7
    Administrator Donagh's Avatar
    Join Date
    Aug 2011
    Posts
    2,078
    Hi, Please share your website url so we can take a look to see if there is any other problem with the page and to see the effect you are referring to.