Blank space above header (seems to be random content) - php

i'm building a Wordpress website from scratch (plugin + template) and made today my header/sidebar.
The problem is that i have a blank space at the top of the website and don't know where it comes from.
When i inspect it i have this.
And here is the blank :
Thanks all...

i'm pretty sure this is due to the wordpress admin bar, try logging off and getting back on your website local host page without being logged on to wordpress. This should be only visible on the admin side, if not once you're logged off, try pasting the source code, will take a look.

thanks for all the answers. Nothing was left in the header.php (checked twice) and tried too to go on the website without being logged but it was not that. I fixed it by sticking by header to top :/
Thanks !

Related

Webpage styling not working after changes

I was making some changes on the header.php file of my wordpress site, related to the flag icons displayed on the top of the webpage.
After that, I loaded back the page and suddenly it all appeared messed. I undoed all the changes I've previosly done, saved and I don't know why but the page is still messed.
Just so you can see how it should be and how it's actually looking like.
I'm sort of desperate because of it, so any clue in what could be causing this is gonna be extremely helpful.
Thanks!
Sometimes with wordpress it needs a bit of time until it's changing. Also try pressing F5 to force refresh, or clear your cache.
Also, you might forgot to add some styles or other file.

How to change code on the front page of a Magento store?

I am helping out with a Magento store initially configured by another developer who is now gone from the company, and I have no experience using Magento at all. Instead of using the built-in newsletter tools, he created an HTML form which points to a completely different server (which he owns) and now we no longer get notifications when a customer signs up for it.
Somehow, he embedded the HTML into the front page of the Store's website. I spent hours looking for the HTML and did find it, in a page called "Subscribe.phtml". I got happy, changed the code inside that page to what I want it to be, uploaded it back to the server and... nothing. No change at all to the site. I flushed the cache but that did not help.
The page does not appear to have much code in it. In CMS->Pages->Content, it shows only this:
{{block type="featuredproductslider/featuredproductslider" name="featuredproductslider"
template="magentothem/featuredproductslider/featuredproductslider.phtml"}}{{block
type="newproduct/newproduct" name="newproduct"
template="magentothem/newproduct/newproduct.phtml"}}
Under Design, it shows only that the layout is "3 columns". There is literally nothing else in this section.
Can you help me understand how I can change the HTML in this area to make this work? If this is helpful, here's a picture of the area that I am trying to configure:
Thank you.
On page 44 of the manual, there's a section called "How to find out which layout file to modify". I used Template Hints and figured out where the code lived. This is what Jim was referring to. It would have been nice for someone to instruct me on how to do this.
I set it up and found that the previous developer had modified the template directly rather than use blocks or other parts built-in to the system to modify the front page.
You can enable template hints in the Magento configuration:
Go to System->Configuration
Change "Current Configuration Scope" to "Main Website"
Go to Advanced->Developer
Under the Debug tab, choose "Yes" for the "Template Path Hints"
Save configuration.
Now go to your homepage, refresh the page and you will see paths to all templates used on the homepage. You will then get a good idea of where each block comes from.
It won't solve your problem, but it might help you find the right template to edit.

Page Jumping Error from HTML to PHP - Site coded in tables?

I am working on a site that was previously developed by someone else.
You can see the site here: http://www.pivotalevents.com/nonametag/index.html
Having issue on this page here: http://www.pivotalevents.com/nonametag/introduce.php
I have coded in a CAPTCHA on the contact page and used some PHP, making the page a PHP extension file 'introduce.php'. Previously it was 'introduce.html'.
The problem: When going from any page on the site, to the contact page, the entire contact page jumps around. The page expands, then collapses back to it's normal width. If you look at the logo, you can see it jump out, then back in.
When I change the page back to .html extension, it doesn't do this.
Why is this happening? Is it because the site's main wrapper is a table?
Any direction would be greatly appreciated! :)
Yes this could be because the site's main wrapper is in a table...
I re-wrapped the site in div tags and now the page does not jump. Seems there was a problem related to the tables and switching from HTML to PHP.

Blank space at the bottom of page when using BACK with CHROME

Not sure how to ask this question properly.
If you go on the website I'm currently working on:
My Website
The page loads fine, but if you go to another page or link afterwards and then hit BACK, the same page loads with a huge blank space at the bottom. If you refresh the page, it fixes itself. The website pcgamer.com seems to have the same problem.
Here is my HTML/PHP and CSS:
Source Code
EDIT 1: Removing the facebook plugin seems to solve the problem, but how can I use the plugin without having this issue ?
disable facebook like plugin and check it will fix your problem
I just check your web and I think I got your problem. You set .bodymainwrap to has height of 2100px. Please delete the css height:2100px; at .bodymainwrap selector. I'm sure it'll work.

Odd - page shows up blank inside an iframe. Why?

I am trying to set up a web-based control panel for some hosting customers that use WordPress.
As you probably know, the URL for administrating a WordPress site is http://domain.com/wp-admin. For example:
http://minutebookreview.com/wp-admin
(this is just a random blog)
Now, look what happens when I try to load this page inside an iframe using this code:
<iframe width=640 height=480 src="http://minutebookreview.com/wp-admin"></iframe>
You'd think this would work, right?
Well, have a look for yourself:
http://jsfiddle.net/A4MxE/
The page simply shows up blank inside the iframe. The wp-admin login page won't load.
Anyone know why this is happening? It doesn't make any sense to me.
Here is what I saw. It seams wordpress just dosen't like you.

Categories