• Very good, is there any way that the grid/bar list appears only on pages with products?, and not in categories or subcategories thanks

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hello,

    Can you explain it more? Please share your site link so that I can check it. Do you want to remove the grid/list view button from the categories pages only?

    Thread Starter luisfco

    (@luisfco)

    I do not have a site published yet, I am working locally, and what I want is that in the store the category page without products appears, then we go to the subcategories without products, and finally we arrive at the products, where I want the option to appear of the list / grid so that the user can change the view of the products, if I activate the list / grid from the options of the theme oceanwp always appears, both in the categories, subcategories and products. Thank you

    It will be good if you create a staging site and share the link. I think you can do it using some css code.

    Thread Starter luisfco

    (@luisfco)

    with css I can hide it, but not in certain pages as categories

    I didn’t understand it. Can you please explain it more?

    Thread Starter luisfco

    (@luisfco)

    Sorry for my English, just do not explain myself well. I have an option in oceanwp to show list / grid, but this option appears to me throughout the store.
    I want it to appear only when I show products, not when I show the categories or subcategories of the store.

    The buttons to change the way to display the products both in the list and in the grid that appears in the upper left, which only appears when I show the products, but by activating the display grid / list it appears throughout the store.

    https://ibb.co/hKjdZ42

    Try adding the below css code to the Customize > Custom css section and check it works or not –

    .post-type-archive-product .oceanwp-grid-list {
        display: none;
    }
    Thread Starter luisfco

    (@luisfco)

    It works well on the store page, but on the next page of subcategories the grid appears again

    .post-type-archive-product .oceanwp-toolbar {
    display: none;
    }

    It will be good if you share a working link. Without seeing the site, it is difficult to provide the correct code.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Grid/list OceanWp toolbar only show in products page’ is closed to new replies.