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
Adding or Editing a post causes the forum to disappear
Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Nov 22, 2014 - 12:17 am

So I'm finishing up testing a new theme, everything works perfect until I tried adding or editing a post, normally when you click add topic, a text area drops down at the bottom of the forum, this theme, the text area drops down from the main menu, I'm not getting any javascript errors, nothing I can see in the error log, any suggestions?

Image Enlarger

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Nov 22, 2014 - 12:28 am

After testing some more, it seems what is happening is the forum is scrolling upwards behind the menu and header instead of the text area opening and scrolling downwards, it's a theme issue for sure, any suggestions what to look for?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 22, 2014 - 6:24 am

We do use an anchor at the editor start point with the name of 'dataform' - perhaps not a great name but over all these years it has never been an issue. The routine scrolls to that anchor in the HTML and then a small script is called to open the hidden form. Now in my experience that will open the editor section somewhere in the current viewport but not usually at the very top.

I would be tempted to ask the theme authors why it is scrolling to the very top.

andy-signature.png
YELLOW
SWORDFISH
Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Nov 22, 2014 - 8:51 am

thanks yellow, I will pose the question to them

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 22, 2014 - 11:42 am

please let us know what you hear back...

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Nov 24, 2014 - 8:54 am

they were able to help resolve, I had to add this to my custom css

.td-pb-row [class*="td-pb-span"] {
margin-bottom: auto !important;
padding-bottom: 0;
}

thanks for the help gents

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 24, 2014 - 10:39 am

glad its resolved... thanks for the update...

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Nov 25, 2014 - 8:31 pm

not sure if this is part of the same issue or not, if not I will make another thread

what controls viewing the newest post? What I mean by that, is when you click a link to a post, the top of the forum shows, then it snaps right to the new post, this new theme, you click a link to a new post and it goes to the top of the forum and then it visually scrolls down the forum to the new post, I made a thread about it on the themes support forum, but they are in Romania and I think it's past their hours of support, so I figured I would ask if you guys have seen anything like that

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 25, 2014 - 8:55 pm

the link is to an anchor... that is a spot directly on the page...  there is no scrolling to the new post...  it just goes directly to it...

so sounds like a plugin or theme doing it...

see:  https://www.google.com/search?.....channel=sb for some examples...

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Nov 25, 2014 - 9:10 pm

hmm, I think the issue then would be the theme, it has a smart sidebar that scrolls with the blog posts, but it disables on mobile devices, I just tested the forum on a tablet and a phone and when I click a post link it just goes right to the top of the topic and not to the linked post, thanks for the direction to look in!

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
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: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626