Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Background Changes Color for non-logined in user
Avatar
David Jeters
Member
Free Members
sp_UserOfflineSmall Offline
Jan 5, 2013 - 2:41 pm

Hello, I just installed simple-press on my website and I am having some technical problems.

My website is http://problem-with-post-edit-.....isfarm.org

The forum is at http://problem-with-post-edit-.....org/forum/

If you go to forum portion of the website you can see the site background changes from blue to white. The really strange thing is if you log in to the website, the background changes back to blue.

How do I fix this problem?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 5, 2013 - 4:11 pm

its your s2member plugin doing that...  just check where the background is coming from...

my guess is its too aggressively checking for a login form on the page and blindly changing the background if it finds one... so when it sees the login form in the forum, it mistakenly changes the background...

Avatar
David Jeters
Member
Free Members
sp_UserOfflineSmall Offline
Jan 5, 2013 - 5:11 pm

Thanks Mr Papa,

You were right about s2member. It has a feature that changes the Login/Registration Design. I couldn't turn off this feature, but I was able to change the background color.

 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 5, 2013 - 5:27 pm

okay cool...  thanks for the update...

btw, you can turn it off by: 

remove_action("login_head", "ws_plugin__s2member_login_header_styles");

in your wp theme functions.php file... or in your sp theme spFunctions.php file I would imagine...

Avatar
David Jeters
Member
Free Members
sp_UserOfflineSmall Offline
Jan 5, 2013 - 6:31 pm

Thanks for the additional information, right now I just plan on leaving it along. Although it could be very useful in the future as s2member changes the fonts as well. Plus who knows what other problems that could cause.

Thanks Again,

David

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 5, 2013 - 6:38 pm

okay, sounds good...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online: Francisco Faundez
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625