Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #998282
    bigmello
    Participant

    Hi there

    I am using Icon stack with Woocommerce. I’d like to change the formatting of the ‘search results’. At the moment the product search results are full width and much to large for my design style.

    https://theme.co/x/demo/shop/icon/?s=band

    How can I edit the formatting? In particular, the size of the product image and removing the date (irrelevant to my products).

    Ideally I’d like the search results to show like a the shop grid layout.

    https://theme.co/x/demo/shop/icon/

    Thanks in advance.
    Matt

    #998725
    Darshana
    Moderator

    Hi there,

    Thanks for writing in! You can add this under Custom > CSS in the Customizer.

    
    .search-results .p-meta {
        display: none;
    }
    
    .search-results .entry-featured {
        float: left;
        margin-right: 1%;
        width: 20%;
    }
    
    .search-results .entry-title {
        font-size: 180%;
    }
    

    Hope that helps.

    #998987
    cityprint
    Participant

    Thanks. That removed the date. Now how can I center align everything?

    I tried float: middle and float: center

    Thanks

    #999029
    Rue Nel
    Moderator

    Hello There,

    There is no such thing as float: center. You can try this instead:

    .search-results .entry-featured {
        float: none;
        margin-left: auto;
        margin-right: auto;
        width: 20%;
    }

    Hope this helps.

    #1002201
    bigmello
    Participant

    Thanks so much, that worked. 🙂

    #1002550
    Darshana
    Moderator

    Glad we were able to help 🙂

  • <script> jQuery(function($){ $("#no-reply-998282 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>