• My theme allows me to create a series of content tabs on my home page. At some point, these tabs quit working. This…I think…was caused by a plug-in I downloaded that conflicted with the javascript that generates the tabs.

    The error caused…among other things…my site to generate the following error:

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/65/4784765/html/wp-content/themes/wapp/functions.php:1) in /home/content/65/4784765/html/wp-includes/pluggable.php on line 866

    I was locked out of my site, but got back in by renaming my theme folder and reloading wp-includes and wp-admin. I removed the offending plugin and checked for spaces at the beginning and ending of wp-config, header.php. and several others. I also reloaded an original functions.php. file.

    This seemed to fix the problem except:

    I now have a one or two pixel space within the tabs and buttons that I believe are generated by the javascript…including a 1px space below the tabs. I can obviously adjust some of these spaces in the CSS file…but not all of them. This leads me to believe I’m still having problems with the javascript.

    Not sure how to proceed. Reload all the javascript files?

    My site is at http://www.viewmarkcommunications.com — spaces at the end of all the buttons are apparent.

The topic ‘1px space in buttons and tabs/javascript’ is closed to new replies.