Home › Forums › WoodMart support forum › Increase the width of the iframe
Increase the width of the iframe
- This topic has 21 replies, 2 voices, and was last updated 1 month, 2 weeks ago by
Hung Pham.
-
AuthorPosts
-
April 2, 2025 at 6:43 pm #651222
ha21cnParticipantI want to increase the width of the iframe until it is the same width as the grey background.
Attachments:
You must be logged in to view attached files.April 3, 2025 at 1:11 pm #651410
Hung PhamKeymasterHi ha21cn,
Thanks for reaching to us.
Can you please try to edit iframe and increase its width? The container is inside
iframe
tag and can’t use CSS to change it.Regards,
April 8, 2025 at 6:04 am #652328
ha21cnParticipantI have now changed the settings of the product description and now I don’t use iframes, how do I change the width of the div.table-wrapper inside the screenshot, currently the sizing table doesn’t have enough width on the mobile side, it’s too small to display.
Attachments:
You must be logged in to view attached files.April 8, 2025 at 6:44 am #652334
Hung PhamKeymasterHi ha21cn,
To assist you in the best possible manner, I kindly ask that you please provide me temporary wp-admin info (wp-admin URL, username, password) to the Private Content area, this will allow me to thoroughly investigate and address your concerns more efficiently.
Regards,
April 8, 2025 at 6:51 am #652340
ha21cnParticipantI’ve provided you with the username, password, and login URL below.
I hope I can solve the problem of displaying the sizing chart in proportion to the width on mobile, I want to achieve the effect of shrinking the sizing chart as a whole like a picture without sliding to display the sizing chart.I’ve only edited one product as a test so far, the others don’t have this sizing chart.
April 8, 2025 at 8:21 am #652374
Hung PhamKeymasterHi ha21cn,
Admin credential is incorrect, please check again.
Regards,
April 8, 2025 at 10:24 pm #652639
ha21cnParticipantI just reset my password and tested it at the same time, and the new password is working to log in properly
April 9, 2025 at 9:32 am #652690
Hung PhamKeymasterHi ha21cn,
Please change
max-width: 100%
andpadding: 0
https://ibb.co/ccNg641fRegarding on mobile, please see screenshot for better understanding https://ibb.co/nMPdHTcr
Regards,
April 9, 2025 at 6:26 pm #652887
ha21cnParticipantI set the dimensions as you suggested, but the display still doesn’t work.
Attachments:
You must be logged in to view attached files.April 10, 2025 at 11:49 am #653025
Hung PhamKeymasterHi ha21cn,
Purge all cache from your caching plugin and check again. If you’re using a CDN, disable it temporarily and see if the issue persists.
Regards,
April 10, 2025 at 8:40 pm #653209
ha21cnParticipantI’m using an administrator account to view it and don’t receive the effects of the caching plugin. And I’ve tried clearing all the caches as well, with no change in the results.
The site is also not using a CDNApril 11, 2025 at 9:55 am #653296
Hung PhamKeymasterApril 11, 2025 at 6:31 pm #653484
ha21cnParticipantI don’t think you’re understanding me correctly, I’m talking about the left margins being different from the right margins when viewing the sizing chart on mobile, not that your code change doesn’t work.
You can check the image, and the effect I’m trying to achieve is that the font and content are centred, and the content text inside the size chart doesn’t need line breaks.
Attachments:
You must be logged in to view attached files.April 12, 2025 at 11:40 am #653581
Hung PhamKeymasterApril 12, 2025 at 12:33 pm #653595
ha21cnParticipantBut after I remove this custom width, the overall width of the sizing chart becomes very small, is there any other way to solve the width problem of the sizing chart on mobile? Is there any other way to solve the width problem of the sizing table on mobile phone?
Also the inside of the size chart doesn’t want to change lines, is there a way to set this?April 13, 2025 at 8:23 am #653692
Hung PhamKeymasterHi ha21cn,
Provide me with the mockup of the styles that you try to achieve and we’ll send proper instructions if it’s possible.
Regards,
April 13, 2025 at 12:39 pm #653710
ha21cnParticipantI’m not sure I understand what you mean.
The effect I’m trying to achieve is that the content on the mobile is arranged the same way as on the computer, with no line breaks in the text, e.g. 105-115 is on the same line instead of https://ibb.co/V0DbPfcJ
The desired effect is https://ibb.co/MkM3LP6S
The width of div#size-selector in mobile is the same as the width of div.wpb-content-wrapper
https://ibb.co/pjvJQ977
https://ibb.co/QvwZxj7Y
The content inside the final size-selector is centered, not left-alignedApril 15, 2025 at 7:32 am #654052
Hung PhamKeymasterHi ha21cn,
Thanks for your patience.
On my end, it looks great https://ibb.co/k62fVsZT
Try to add the below Custom CSS code to Theme Settings > Custom CSS > Custom CSS for mobile:
div#size-selector table th, div#size-selector table td { padding: 5px; text-align: center; }
Regards,
April 15, 2025 at 1:54 pm #654233
ha21cnParticipanthttps://ibb.co/JFRzJ4zC
I see that the Age column in your screenshot still shows two lines of content, not everything on the same line.
Also I want to shorten the width of the arrow markers on the right, what do I need to set?April 16, 2025 at 8:31 am #654469
Hung PhamKeymasterHi ha21cn,
1. You can use above Custom CSS to decrease padding values in mobile.
2. Also, I checked your CSS codes again, there are no longer padding value https://ibb.co/j9msV5j3
Regards,
April 16, 2025 at 5:41 pm #654727
ha21cnParticipantSo there’s no other way to increase the width?
April 17, 2025 at 10:41 am #654870
Hung PhamKeymasterHi ha21cn,
Due to limited mobile spacing and the table containing many values, it cannot be fully displayed without horizontal scrolling. Hope that clarifies.
Regards,
-
AuthorPosts
- You must be logged in to create new topics. Login / Register