Home>Support>Search result images very large.

Search result images very large.

I have been having issues resizing the images that are returned from the search function. From reading a previous thread on the issue I tried the suggested code. It resized the images okay, however, you are unable to actually click on many of the results. It seems as if the links have been disabled. This is the code I used from your previous thread.

 .search-results article.post, .search-results article.page {
max-width: 25%;
float: left;
box-sizing: border-box;
padding-right: 2%;
}

article.post .entry-header .entry-thumbnail img, article.page .entry-header .entry-thumbnail img {
max-width: 300px;
max-height: 300px;
}

By going through and individually disabling sections of the code it seems like

box-sizing: border-box;

may be a cause of the problems.

URL: http://www.playingcardsandprints.co.uk/?s=castle

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 6 hours ago Andrew Misplon
    Hi, I Work Here

    Hi Fugz13

    You can fix/change this with some custom CSS. If you navigate to Appearance > Custom CSS, you’ll get our custom CSS editor. Just add the following code.

    .pagination, .entry-content .pagination {
        overflow: auto;
    }
    
  2. 9 years, 2 hours ago fugz13

    Thanks a lot, that has resolved the link issue.

    Is there anyway for the search function to return the results as products with the price etc instead of as a post?

  3. 9 years, 1 hour ago Andrew Misplon
    Hi, I Work Here

    Glad that helped. The way the WordPress core handles search is, unfortunately, outside of our control. You can look for a third-party plugin to help augment your search results on the plugin directory: https://wordpress.org/plugins/

  4. 8 years, 11 months ago fugz13

    So there is no way of using the woocommerce search function which only searches products as the results for the Vantage search tool. I really like the way you can have the search function as part of the navigation menu.

  5. 8 years, 11 months ago fugz13

    I have put the woocommerce search box in my sidebar and it returns product results. The Vantage search box returns results as posts. When you search in the vantage search however it also displays your search term in the woocommerce search box. Is there no way to link these some how?

  6. 8 years, 11 months ago Andrew Misplon
    Hi, I Work Here

    Sidebar search widget is definitely a way forward.

    The Vantage header search uses the default WordPress search feature. There is no way of changing this without custom development.

    You could perhaps turn the menu search off and use a search widget in the header widget area. That’s another option.

    The challenge is that to search only WooCommerce we need to replace the default search form. That’s easy when it comes to inserting widgets. The menu search is, unfortunately, a hard coded form.

    Codeable.io would be our recommended developers if you wanted to get further assistance with this customisation.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More