Home › Forums › WordPress Themes – Premium › Encounters › Too much white space on page
- This topic has 5 replies, 12 voices, and was last updated 9 years, 7 months ago by
Bob Deaver.
-
AuthorPosts
-
April 6, 2014 at 8:38 pm #14976
Bob Deaver
ParticipantI’m pasting from my static html pages to my wordpress pages and it wall works fine except that I end up with lots of extra space on the page. The top of the page has a lot of space before my first table. Within the table, every Add to Cart button is far below the item I’m selling. If I delete this space in the Visual editor on a given page, I lose valuable info. This site is not live yet, so I can’t post a link right now, but here’s my shopping cart code for one item.
April 6, 2014 at 9:13 pm #19620Sushil Adhikari
ModeratorUnfortunately I really cannot provide support on custom things people do. Plus, if your site is not accessible, pasting code or doing screenshots makes it almost if not impossible to see the source code visually and to see what is happening. For instance, when troubleshooting things like this, using webmaster tools that now come with browsers, you can view the code and actually see where and what is causing the problem. I use the Chrome browser (popular for site development) because when you put your mouse anywhere within a page and right click, then choose Inspect Element, you can see and perform live editing on the spot to find the solution.
My only advice is to use the webmaster tools with your browser (most browsers have this feature) to find out what and where the issue is. Each browser has their own version of webmaster tools, but I find Safari and Chrome to have the better tools. The other option is to add your table in first with no content, test the page, then add a bit more to your table, then test the page. This might help you pinpoint what is creating the extra white space.
Regarding your buttons… delete the space but make sure you do that from the “Text” tab of the editor so you know what you are deleting. Also, please be aware that adding custom code such as you are doing, the WordPress editor is notorious for changing a user’s own code that they enter in…sometimes the changes are not visible. Where you think there are no extra blank lines, it puts in blank lines. You may want to consider using a more advanced editor plugin that lets you see “all HTML” tags. I had to do that with my demo sites by using the Advanced TinyMCE editor because the WP one was putting in extra empty
tags.
April 6, 2014 at 9:47 pm #19621Bob Deaver
ParticipantThanks. Just switching from Firefox to Chrome (with Inspect Element) has made a world of difference.
April 6, 2014 at 9:58 pm #19622Sushil Adhikari
ModeratorGood to hear….For development, the Chrome browser is the choice. Were you able to see what was creating the extra space with the Chrome browser webmaster tools?
April 7, 2014 at 1:00 am #19623Bob Deaver
ParticipantI can see all the
tags and
tags that were causing the problems. I’m not sure how to save those edits though.Also, I’m not seeing how TinyMCE Advanced shows all the tags. I’m just not seeing anything different.
Thanks for any help
April 7, 2014 at 1:10 am #14977Bob Deaver
ParticipantActually, I think the “Raw HTML” plugin has just solved all my problems. Whoopee!
-
AuthorPosts
- You must be logged in to reply to this topic.