Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter magnaz99

    (@magnaz99)

    The page of that issue is right here . http://www.turnyl.com/?page_id=66&ult_auc_id=170

    WisdmLabs

    (@wisdmlabs)

    Hi magnaz99,

    It seems there is some conflict with currently activated theme.

    Can you please try adding below code in function wdm_auction_listing() present in ultimate-auction/auction-shortcode.php

    $post_type = get_post_type();
    if($post_type == 'ultimate-auction'){
    echo "<style>body {overflow:visible;}</style>";
    }

    Hope this works.

    Thread Starter magnaz99

    (@magnaz99)

    Thanks for youy reply.

    I insert your code into auction-shortcode.php like this.

    function wdm_auction_listing() {
    // Add by magnaz99 .. 2016.05.19.
    $post_type = get_post_type();
    echo $post_type;
    if ($post_type == ‘ultimate-auction’) {
    <style> body { overflow:visible; } </style>
    }

    But, this is not working properly. It makes some error like this.

    root@ubuntu:/var/www/html/wordpress/wp-content/plugins/ultimate-auction# php auction-shortcode.php
    PHP Parse error: syntax error, unexpected ‘<‘ in /var/www/html/wordpress/wp-content/plugins/ultimate-auction/auction-shortcode.php on line 20
    root@ubuntu:/var/www/html/wordpress/wp-content/plugins/ultimate-auction#

    Please, help me more.

    WisdmLabs

    (@wisdmlabs)

    Please use below code –

    $post_type = get_post_type();
    if($post_type == 'ultimate-auction'){
    echo "<style>body {overflow:visible;}</style>";
    }

    inside wdm_auction_listing() function.

    The problem is at <style> body { overflow:visible; } </style> in the code used by you. Also, no need to add echo $post_type;

    Thanks !!!

    Thread Starter magnaz99

    (@magnaz99)

    Thanks for your reply.

    But, although I was put the code like below;

    function wdm_auction_listing() {
    
        // Add by magnaz99 .. 2016.05.19.
        $post_type = get_post_type();
        if ($post_type == 'ultimate-auction') {
            echo "<style>body {overflow:visible;}</style>";
        }

    Unfortunately, this is not working properly.

    thanks and waiting your another advice…. Have a nice weekend!

    Plugin Author Nitesh

    (@nitesh_singh)

    Hi,

    Though we have tried to see your site and fix it by open means, could you please write to nitesh[at]auctionplugin.net so that we could discuss it further.

    Regards,
    Nitesh

    Thread Starter magnaz99

    (@magnaz99)

    Thank you for your help.

    By the way, I was change theme because of that problem. After that, I works perfect. I think that problem may be cause of conflict with theme.

    Thank you very much.

    And I hope use pro. Version. See you again. Bue~

    Plugin Author Nitesh

    (@nitesh_singh)

    Hi,

    Glad it worked.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Can't scroll auction product description page’ is closed to new replies.