• Resolved mattyblob

    (@mattyblob)


    Hi Damian hope you’re well,

    I’m having a problem with the results window only opening at X width of the search bar instead of 100% as intended. Have disabled all plugins, snippets and removed custom css and issue is persisting.

    Would you mind taking a look? Have provided a link.

    Thanks!

    Matt

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter mattyblob

    (@mattyblob)

    Fixed it!

    Thread Starter mattyblob

    (@mattyblob)

    Sorry to be a pain, hadn’t solved the problem i’d only patched it up. It’s still not full width of it’s container. Could you have a look please?

    Plugin Author Damian Góra

    (@damian-gora)

    Hi,

    Could you install the latest dev version of the plugin v1.8.0.12 and confirm that it solves your issue? We’ve fixed some bugs. Follow these steps:

    1. Go to the page https://www.ads-software.com/plugins/ajax-search-for-woocommerce/advanced/
    2. Scroll down to the section “PREVIOUS VERSIONS”, select “Development version” and download the zip file.
    3. Remove your current plugin version and install the development version.
    4. Clear all caches

    Best
    Damian

    Thread Starter mattyblob

    (@mattyblob)

    Hi Damian,

    Development version is live but problem persists – any other ideas?!

    Thanks

    Plugin Author Damian Góra

    (@damian-gora)

    Hi,

    Yes, I found another solution. It seems you embedded the search bar in the wrong way.

    Is true you added plain HTML starting from <form class="dgwt-wcas-search-form" role="search" ...? You can’t follow this way, because it’s only part of HTML you need to make the search bar working properly. You missed a lot of elements.

    Instead of paste HTML with search form, you should use following code to embed the search bar in your theme’s files. It’s the correct way:

    
    <?php echo do_shortcode('[wcas-search-form]'); ?>
    

    Best
    Damian

    Thread Starter mattyblob

    (@mattyblob)

    Thank you for spotting that! I used Beaver Builder for this project and it seems it automatically changed the code – I’d entered the shortcode into their Header module. Changed to a text module and all working now.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Results only half width of search bar’ is closed to new replies.