Home › Forums › WoodMart support forum › More space for Product Title
More space for Product Title
- This topic has 11 replies, 2 voices, and was last updated 2 years, 4 months ago by Luke Nielsen.
-
AuthorPosts
-
July 9, 2022 at 8:09 pm #389873
burakiksParticipantHi there,
I have two question,
1- Even if I use the product pages full, I can use the product image and the information field in half. My goal is to keep the field of knowledge a little wider. This will make product titles more readable. I am attaching two different images as an example. There, there are the sample site and my site’s product pages.
2- How can I center the breadbrumb area? (see please image at private content)
Thanks
July 11, 2022 at 10:28 am #390097
Luke NielsenKeymasterHello,
1. In order to make the title a little bit wider, you need to hide the “Brands” logo via Theme Settings -> Shop -> Brands -> turn off the “Show brand on the single product page” option.
https://gyazo.com/8fadeca126c7604a2dbebb976c8925ed
2. Such breadcrumbs styles you can create with the help of the layout builder.
Here is our documentation on how to use layout builder:
https://xtemos.com/docs-topic/woodmart-woocommerce-layout-builder/
Kind Regards
July 11, 2022 at 12:25 pm #390179
burakiksParticipantHello, Thanks for your replies.
But what I want to do is to optimize the parts I showed in point 1, namely the product areas. The image takes up too much space on the product page. The product title, short description, buy button are too small. I want to expand these fields.
July 11, 2022 at 3:50 pm #390236
Luke NielsenKeymasterHello,
In general, the default product page comes from WooCommerce so we cannot change everything.
1. The below code will help you to wide buttons. Enter it into the “Custom CSS for desktop” area that is in Theme Settings -> Custom CSS.
.single-product .summary-inner .cart { display: flex; } .single-product .summary-inner .single_add_to_cart_button, .single-product .summary-inner .wd-buy-now-btn { width: 100%; }
2. This one code will help you to widen the product summary. Also, add it to the “Custom CSS for desktop” area.
.single-product .product-full-width.product-summary-shadow .summary-inner { max-width: 100%; }
After that, the description tab will be also wider.
3. In order to make the images smaller, please navigate to Theme Settings -> Single product -> Images -> choose the appropriate option from the “Product image width” field.
https://gyazo.com/1ee90e9622b0cbadaa0255e111cc020f
Please let me know if I missed something.
Kind Regards
- This reply was modified 2 years, 5 months ago by Luke Nielsen.
July 14, 2022 at 5:45 pm #391129
burakiksParticipantHi there,
Thanks for help, i used the codes on my website. But happened someting slip.
desktop and mobile. See please attachments
Attachments:
You must be logged in to view attached files.July 15, 2022 at 9:26 am #391230
Luke NielsenKeymasterHello,
1. I have edited the old custom code so now it works well.
https://gyazo.com/a780379ea1c1301105bac8b274c522de
2. Different heights of the products have nothing to do with my code because it is related to the “Masonry grid” option that is situated in Theme Settings -> Product archive -> Product styles. You need to disable it and check the issue again.
https://gyazo.com/21ee8bdc74fac8569bca406d48636d7c
Kind Regards
July 20, 2022 at 1:46 pm #392322
burakiksParticipantThanks i was looks okey but, on the valiable product. When i changed to gram, its gonna broken again. 🙂
Please see pic https://prnt.sc/Mdh3Z8vOQgw_
July 20, 2022 at 4:58 pm #392385
Luke NielsenKeymasterHello,
I have changed a little bit the old code, so now it should work well.
https://gyazo.com/beb43902c58ad5a70054b0dc6abe5e0f
https://gyazo.com/405b77873ad8ab5716f591304abf74de
Please let us know if there is anything further we can assist you with!
Kind Regards
July 22, 2022 at 12:57 pm #392827
burakiksParticipantHi thnks for help,
When i check to product page on android phone, the buttons seem slided. Can you help this please?
also on the desktop, the prodcut image is seem to big too. I want to align the product image to the expense information field. Can you help with this please?
Thanks
Attachments:
You must be logged in to view attached files.July 25, 2022 at 10:23 am #393310
Luke NielsenKeymasterHello,
1. I saw that you have added the “Pay” button and now buttons display well unlike your screenshot. Please let me know if you have sorted it out.
2. In order to make the main product image smaller, please enter the below code into the “Custom CSS for desktop” area that is in Theme Settings -> Custom CSS.
.single-product .woocommerce-product-gallery__image { max-height: 500px; display: flex; justify-content: center; } .single-product .woocommerce-product-gallery__image img { width: 500px; }
In the meantime, feel free to ask me any questions you may have.
Kind Regards
July 26, 2022 at 1:25 am #393476
burakiksParticipanthi there,
thanks for your help, it worked nice!
also, I want to change some things more. I changed already from the chrome background. But how could b CSS code not have an idea? Can you see please the screenshot? How I can do this code permanent actually on woodmart theme?
Attachments:
You must be logged in to view attached files.July 26, 2022 at 12:05 pm #393605
Luke NielsenKeymasterHello,
With the help of the below code, you can resize columns on the product page. Please enter the below code to the “Custom CSS for desktop” area that is in Theme Settings -> Custom CSS.
.single-product .product-image-summary-inner .product-images { flex: 0 0 41.666667%; max-width: 41.666667%; } .single-product .product-image-summary-inner .entry-summary { flex: 0 0 58.333333%; max-width: 58.333333%; }
Kind Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register