Archived topic
Set Woocommerce Columns Number - Now working
15 replies · Started by fabiosilva on January 18, 2021
Hi,
I don't know if anyone has had this problem:
I am trying to modify the number of columns and space between columns in the theme customizer, but nothing happen. I tried to clean the custom CSS and functions, but still not working.
Thank you so much
Hi there,
Any chance you can link us to the site in question?
You can use the private information field.
Let me know :)
Hi, Leo
Updated (dev site on private information).
Thank you for your help
Hi there,
are you trying to change the columns on the Front Page ?
Hi, David. I think no.
So, I made a little customizations to wocommerce products Block (using CSS).
But i've tried clean CSS, and problem remain on wocommerce store catalog.
The customizer option would only apply to the shop/archive pages.
Which page are you referring to here?
The site isn't in English so I can't quite tell.
Hi, Leo.
Yes, only shop/archive pages.
The shop page is /loja (I put the link in private info)
Thank you
The page you've linked isn't a shop page from WooCommerce. It's just a static page with GenerateBlocks in it.
Hi, Leo.
Yes. I made this:
https://generatepress.com/forums/topic/customize-store-page-after-before-woocommerce-loop/
As I mentioned before, the customizer option would only work for the shop/archive page generated by WooCommerce (much like the blog/archive page generated by WordPress).
If you are building the page using shortcode, then you need to include the column number in the shortcode:
https://docs.woocommerce.com/document/woocommerce-shortcodes/#display-product-attributes
Ok, Leo
In that case, I will no longer be able to customize anything befor woocommerce loop. :-(
Using hooks / blocks (by GP elements), maybe it possible. But standard shop page not working with full width
You can set the columns when using shortcodes - did you check out the page I linked?
Using hooks / blocks (by GP elements), maybe it possible. But standard shop page not working with full width
Not sure if I understand the question here. Can you explain a bit more?
Leo,
You can set the columns when using shortcodes – did you check out the page I linked?
Yes, I've checked page. But it seems to me not to be the best way, as I haven't found how I can define the number of columns on the desktop, tablet and mobile.
Not sure if I understand the question here. Can you explain a bit more?
So, currently (as you can see on my private link) i'm using the standard configuration (shop columns, now, works fine with GP customizer).
But I can't put my customized top yellow bar (with title) as a full-width page.
Basically, is this.
(Sorry if I complicated :-( )
Thank you.
If you use the after_header_hook to add your Block Element/Hook then it will occupy the Full Screen.
Solved! Thank you. :-)