Support Forum
Hello,
I added Simple:Press to my WP.org site, but the theme's background image disappears on the Forum page no matter which template I use. The background image returns on that page when I disable Simple:Press, so the theme's template isn't to blame.
With SP enabled, I inspected a working page (Home) with Firebug, and it says this:
<body class="home customize-support"> <img id="background" style="" alt="img" src="http://mydomain/wp-content/uploads/2013/01/1.jpg" />
Now, when I inspect the Forum page it says this:
<body class=" customize-support"> <img id="background" style="display: none;" alt="img" src="#" />
Any ideas on how I can I fix this problem? The theme's Javascript (some fancy hover effects on the navigation) also stop working on the Forum page when SP is enabled, if that helps at all.
Thank you,
N
you didnt give us a link, but my guess is you have plugin (or the wp theme) that is doing a custom background on the wp login page... since the forum includes an inline login form, that other plugin is getting overly greedy and messing up the background on the forum page...
if that is true, a couple options... fix the greedy plugin... or remove the forum inline login form so it doesnt confuse the other plugin or theme...
Visit Cruise Talk Central and Mr Papa's World
Mr Papa said
you didnt give us a link, but my guess is you have plugin (or the wp theme) that is doing a custom background on the wp login page... since the forum includes an inline login form, that other plugin is getting overly greedy and messing up the background on the forum page...if that is true, a couple options... fix the greedy plugin... or remove the forum inline login form so it doesnt confuse the other plugin or theme...
Thank you for the quick reply, Mr Papa. I should have mentioned that I've tested this with plugins disabled. How can I remove the inline forum login form? I'm happy to PM you a link to my site if need be
just remove if from the template file that displays it in your sp theme... in this case, its spHead.php template file... look for template function:
sp_LoginForm($loginForm);
note, the login button wont work if you remove the inline form, but dont worry about that for quick test... we can change the button to point to the wp login page if successful...
Visit Cruise Talk Central and Mr Papa's World
Mr Papa said
just remove if from the template file that displays it in your sp theme... in this case, its spHead.php template file... look for template function:sp_LoginForm($loginForm);
note, the login button wont work if you remove the inline form, but dont worry about that for quick test... we can change the button to point to the wp login page if successful...
I made the change, but unfortunately the background image still doesn't display.
okay, then not sure why the theme is changing the body class... the simple press plugin is not changing the body class as we dont apply or remove any body class styles... but that is an abnormal way of doing a background image too so maybe something else at work - just not sure what it might be...
maybe go to forum - options - content settings and try turning off the popup enlargement option...
or go to forum - integration - page and permalink and turn on the strict wp api option..
Visit Cruise Talk Central and Mr Papa's World
something is physically changing the style to make it not show... but not sure what... what about that link?
Visit Cruise Talk Central and Mr Papa's World
odd... the wp theme is doing a couple things that violate the wp standards... not sure it has any impact but may...
its loading jquery and jquery ui from an external source instead of the using the copies that come with wp...
<script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js?ver=1.5.2'></script>
<script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.15/jquery-ui.min.js?ver=1.8.15'></script>
thats not a good thing to do, especially with those old versions... jquery 1.5.2 is very old - current version that comes with wp is 1.10.2... jquery ui isnt as bad but still 1.8.15 vs wp version of 1.10.3...
but those old versions of jquery and jquery ui could be quite unstable and not what wp and other plugins are expecting... but cant guarantee its the problem either though...
does the wp theme have any options to not load external jquery or jquery ui? and use the wp versions?
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)