Home › Forums › WoodMart support forum › Image Width
Image Width
- This topic has 5 replies, 2 voices, and was last updated 4 years, 5 months ago by Bogdan Donovan.
-
AuthorPosts
-
June 8, 2020 at 2:57 pm #201773
scholtobosParticipant— Please, can I get an answer from Aizaz or Artem? I wasn’t happy with the quality of Elises support several times —
Hi Aizaz and Artem,
In theme settings you can choose product image size to be small, medium or large. This only has effect on desktop screens. On tablets image size doesn’t change. Please see sceenshot to see what I mean.
I want the image size on tablets to be small, because now I don’t have enough space for the short product description on smaller screens right now.
Can you help me?
Kind regards,
Attachments:
You must be logged in to view attached files.June 9, 2020 at 6:24 am #201883
Bogdan DonovanKeymasterHi,
By adding the following custom code to the Tablet Custom CSS area in Theme Settings you can tweak your product content and image width on a tablet device. The main rule that width needs to be set only in percentage and in total it must contain 100%.
.single-product-page .product-image-summary-inner .product-images { -ms-flex: 0 0 40%; flex: 0 0 40%; max-width: 40%; } .single-product-page .entry-summary { -ms-flex: 0 0 60%; flex: 0 0 60%; max-width: 60%; }
Regards
June 9, 2020 at 10:42 am #201997
scholtobosParticipantI’m sorry man. I’m not talking about making te right sidebar smaller. I’m talking about making the product image smaller so my text column is broader. This snippet doesn’t give the text part in the middle more space due to a smaller product picture on the left.
June 9, 2020 at 12:08 pm #202049
Bogdan DonovanKeymasterFollowing custom code provided in previouse reply is suppose to change width of product gallery (
.product-images
) and product descriprion (.entry-summary
) and it not related to the single product sidebar.You can check your site single product horizontal tablet layout with custom code and without on the following video (https://gyazo.com/24d0e1d7a8f04fa383b1aa4ef69124b0).
If you need to increase your description size more you can change numbers in custom code to the 70% and 30%, 80% and 20% and etc.
.single-product-page .product-image-summary-inner .product-images { -ms-flex: 0 0 30%; flex: 0 0 30%; max-width: 30%; } .single-product-page .entry-summary { -ms-flex: 0 0 70%; flex: 0 0 70%; max-width: 70%; }
It will look like on this screenshot (https://prnt.sc/swiwrf)
Regards
June 9, 2020 at 12:20 pm #202052
scholtobosParticipantI’m sorry. You’re absoluteluy right. I must have done something wrong. Thanks for your time. You can close the ticket.
June 9, 2020 at 12:54 pm #202074
Bogdan DonovanKeymasterYou are welcome!
-
AuthorPosts
Tagged: image width, medium, small, tablet
The topic ‘Image Width’ is closed to new replies.
- You must be logged in to create new topics. Login / Register