• Resolved dorianj

    (@dorianj)


    Is it possible to display WC products as a list instead of a grid WITHOUT using a plugin?

    Perhaps there’s some CSS that will take care of this or some code that can be added to my theme’s function file.

    I’ve searched high and low for code and tried countless CSS styles with no luck.

    I’d like to accomplish this without adding another plugin to my site.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Stef

    (@serafinnyc)

    I found this on Stack

    See the jQuery way

    Thread Starter dorianj

    (@dorianj)

    Thanks. I saw that solution already, however the OP doesn’t provide any details on where to add that block of code so I don’t know how to apply it.
    I tried to post a comment asking for clarification, but stack says I don’t have enough “reputation” to post anything.

    Stef

    (@serafinnyc)

    So that code would go into your child theme’s functions.php file and you would call to it thru an enqeue which you can learn here.

    If you’re not comfy with adding code then you can use a plugin, something like Insert Header & Footer plugin.

    Anything else isn’t really supported in this forum as this doesn’t pertain to the core of WooCommerce.

    Thread Starter dorianj

    (@dorianj)

    Well, I’m familiar with enqueuing scripts and adding/editing stuff in my theme’s functions file. I’m also using a theme that makes adding scripts incredibly easy for the most novice developers, but I can’t get that bit of code on stack to do anything. If you’ve got enough “reputation”, perhaps you can post a message to the OP asking him to verify that it still works. I’ve spent easily an hour and a half trying everything I can think of and just can’t get it to work.

    It’s strange that woocommerce wouldn’t make this a standard option out-of-the-box. Heck, even Amazon and eBay display their product search results as a list. Never a grid.

    Thanks for your help.

    Stef

    (@serafinnyc)

    Yes, but you also pay for those features on Amazon & eBay with lovely fees, whereas Woo is free.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Displaying products in a LIST — not a GRID’ is closed to new replies.