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
Page shifts upwards after 'Add Topic' or 'Add Post'
Avatar
Derek Ellerman
Member
Free Members
sp_UserOfflineSmall Offline
Feb 24, 2013 - 8:43 pm

Hi,

I'm having a problem where after Add Topic or Add Post is clicked (I think an Ajax call), the whole page 'shifts' upwards.  So the header which was correctly spaced suddenly becomes partially hidden under the navigation menu, etc.  I've attached two screenshots to show before and after.  Any help would be very appreciated!  Thanks!

DerekBefore.pngImage EnlargerAfter.pngImage Enlarger

Avatar
Brandon
U.S.
SP Wrangler
Free Members
sp_UserOfflineSmall Offline
Feb 24, 2013 - 10:03 pm

That could be a CSS problem or an issue with the WP theme but first you should turn off the use of W3 Total Cache on the forum page. That way you are sure it is delivering the correct content.
Caching plugins create static storing data for future uses which works great for blog pages and posts but dynamic pages like what Simple:Press uses need to excluded from a caches.

They have some built in caching and compression features that help to speed up the display without losing the ability to dynamically serve up the correct information.

 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 25, 2013 - 7:22 am

when you go to make a post, the editor window opens below the forum content...  we scroll the rest of the page up to get to it...  well, normally its the rest of the page... in this case it appears you have css that is uniquely stacking or perhaps using absolute positioning with varying z-indexes different elements of the page...  so when we scroll the wp page content section, it doesnt scroll everything...

but cannot tell for sure from an image...  would need a link and see it in person...

and if that is indeed the case, not sure what I would suggest...  perhaps change the default to always have the editor window come up on the page so no scrolling is needed...

Avatar
Derek Ellerman
Member
Free Members
sp_UserOfflineSmall Offline
Feb 25, 2013 - 7:28 pm

Thanks for the tips - it was in fact a theme issue. In case this comes up for you with other users, I was using a Genesis theme and the fix was inserting a 'overflow: hidden;' in this part of the Genesis child theme stye.css:

#inner:after { clear: both; content: "."; display: block; height: 0; visibility: hidden; overflow: hidden; }

Thanks again! Derek

>

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 25, 2013 - 8:41 pm

good to know... I use genesis on multiple sites, but have not run across that... thanks for the update...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
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