- This topic has 11 replies, 3 voices, and was last updated 3 years, 2 months ago by
David.
-
AuthorPosts
-
September 8, 2020 at 10:31 am #1435665
Omar
Dear Team,
Have a good day,I am sorry to keep bothering you always. I need some assistance related to the product box or I am not sure what does it called.
As you can see, the product box is not arranged well, the title is very large and tall and the image thumbnails are not having the same size. So, is there a CSS that can help to do the required, or are you advising me to use any certain plugin?
September 8, 2020 at 3:05 pm #1435872Tom
Lead DeveloperLead DeveloperHi there,
You should be able to crop the images so they’re the same size in Customize > WooCommerce > Product Images.
As for the product title, you can reduce the font size in Customize > Typography > WooCommerce.
Let us know if you need more info 🙂
September 9, 2020 at 8:05 am #1436827Omar
Thank you Tom for your kind response,
Is there a way to align the product title to the side? (right or left depending on the languages). Also, is it possible to add the brand name above the product title? The last thing, is there a way to align the button ‘Add to Cart’ to the center? (Example is attached)
Another issue that is the products that have more than one line’s title has a larger margin to the bottom. (Example is attached)
September 9, 2020 at 2:28 pm #1437277Tom
Lead DeveloperLead DeveloperYou can find text alignment in Customize > Layout > WooCommerce as well.
It should align to the right when using RTL by default. If not, we can provide some CSS to do that.
What’s the brand name and where is it coming from?
As for the alignment, I’m not seeing our standard CSS grid/flexbox layout. Can you disable your caching plugin so we can see where the CSS is coming from?
September 10, 2020 at 6:00 am #1437905Omar
I am using ‘Perfect Brands for WooCommerce’ plugin and it should be the source of brands. Brands are more than 60 brands. another option that I can apply if it will be easy to add is the categories.
Also, I deactivate all caching plugin currently.
September 10, 2020 at 2:08 pm #1438575Tom
Lead DeveloperLead DeveloperSeems you’re using the shortcode for products, so our regular grid doesn’t apply.
You can try adding this CSS:
.woocommerce ul.products { display: flex; flex-wrap: wrap; } .woocommerce ul.products li.product .button { margin: 0; text-align: center; }
As for brands, you may need to check with their plugin support to see how to add them to each product in the loop.
September 13, 2020 at 6:10 pm #1441896Omar
Hi Tom,
thank you, the issue is solved but due to this line
display: flex;
the mobile’s preview changes (products are linked to each other). Now, product images, product title, stars, price and add to cart button is touching the box’s outline, is there a code that can add a margin to all the sides?
The last thing, is there a way to change the Menu Item (Login | Register) as I am using a login/logout plugin and I would use it at the right side instead.
September 14, 2020 at 1:40 am #1442199David
StaffCustomer SupportHi there,
try adding this CSS to put some space between columns:
@media(max-width: 768px) { .woocommerce ul.products[class*=columns-] li.product { width: calc(48% - 20px); margin-left: 10px; margin-right: 10px; } }
September 19, 2020 at 4:54 pm #1450399Omar
Thank you David. it is resolved but remaining the navigation bar:
– I would like to change the pre-set menu items (Contact – Login | Register), as showing in the following image it is aligned to the right, I would like to change it with another item. Where I can do that?
– I use the following code to align the WPML widget items while sticky nav
transform: translateY(15%);
while i am at the top page the items are margin to down but when i croll down it looks great, without the code the opposite is happening.
– Also, the items in English is set to right which is good but in RTL language it remains the same (on the right) due to this code
float: right;
without this code the navigatio will have another row and the items of the widget will be at the top row. (image below)
September 20, 2020 at 4:30 am #1450774David
StaffCustomer SupportCan you raise a new topic as this issue is unrelated – it makes easier for people to track solutions.
September 20, 2020 at 7:22 am #1450946Omar
Sure thank you.
September 20, 2020 at 2:23 pm #1451431David
StaffCustomer SupportTY
-
AuthorPosts
- You must be logged in to reply to this topic.