sloth8871 Posted October 25, 2023 Share Posted October 25, 2023 I have a custom HTML code block that is very long. It is a tabbed menu with each tab having different information. The problem is in a code block its very long, much longer than the menus because the code block contains all of the content of all 4 tabs and it is displayed as such on my page. The problem is that when this code is rendered on the page the tabbed menu works but there is TONS of white space left below where all of the actuall code block is taking up white space: https://www.sixbladesaustin.com/visit-us How do I modify or hide the code block itself but still display the results of the code block without having the miles of whitespace below? Link to comment
Web_Solutions Posted October 25, 2023 Share Posted October 25, 2023 30 minutes ago, sloth8871 said: I have a custom HTML code block that is very long. It is a tabbed menu with each tab having different information. The problem is in a code block its very long, much longer than the menus because the code block contains all of the content of all 4 tabs and it is displayed as such on my page. The problem is that when this code is rendered on the page the tabbed menu works but there is TONS of white space left below where all of the actuall code block is taking up white space: https://www.sixbladesaustin.com/visit-us How do I modify or hide the code block itself but still display the results of the code block without having the miles of whitespace below? Can you add the code on Classic Editor section? I think if you add the code on Classic Editor section then it will be ok. If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks MD Rofik Website Designer and Digital Marketer ☕Am I helpful? Want to offer me a coffee? ✉ Send me a message if needed any help. I'll try to reply as soon as possible. Link to comment
sloth8871 Posted October 25, 2023 Author Share Posted October 25, 2023 40 minutes ago, Web_Solutions said: Can you add the code on Classic Editor section? I think if you add the code on Classic Editor section then it will be ok. That's definitely closer, problem now is that some of the content is quite long and runs all the way over and past the site footer and down into extended white space that it's making to display the content: Link to comment
sloth8871 Posted October 25, 2023 Author Share Posted October 25, 2023 quick update, from searching another thread I found an ok fix: #block-yui_3_17_2_1_1698253649797_18559 iframe { height: 2000px !Important; } This adds enough padding to make every tab except for the schedule which is embedded code from another site have the appropraite amount of spacing. This should be acceptable but if you could help fix the "Class Schedule" page to end at the footer with no extra white space that would be perfect. Thanks! 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