Harrison76 Posted May 22 Share Posted May 22 Hi There I wonder if anyone can help with some suggested code. I have a 'Fees' table on a legals page on my website. I inserted some html into a code block but it doesn't respond down to the mobile page width. Everything is fine on desktop, just the mobile view that is an issue. Is there some code I can add to the block to make it 100% of page width? Any help would be greatly appreciated P Link to comment
tuanphan Posted May 23 Share Posted May 23 Can you share link to page where you use code? We can check problem easier Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Harrison76 Posted May 24 Author Share Posted May 24 Hi tuanphan, apologies for the delayed reply. The website page is https://www.banqeta.com/fees Password: Banqeta100 Link to comment
tuanphan Posted May 25 Share Posted May 25 On 5/24/2024 at 12:32 PM, Harrison76 said: Hi tuanphan, apologies for the delayed reply. The website page is https://www.banqeta.com/fees Password: Banqeta100 Use this code to Website > Website Tools > Custom CSS @media screen and (max-width:767px) { div.code-block table { width: 100% !important; } div.code-block table td, div.code-block table th { padding-left: 2px !important; padding-right: 2px !important; } } Harrison76 and Earvin 1 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Solution Harrison76 Posted May 29 Author Solution Share Posted May 29 Hi Tuan Brilliant. Thank you so much for your support! Earvin 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment