Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
themes-topic
Weird Poll Pop-Up
Avatar
Kilomoana
Member
Free Members
sp_UserOfflineSmall Offline
Apr 9, 2013 - 5:41 am

Hi there,

when I click the "Poll" Button, the Pop-Up appears around -3.700px away from top. So it is displayed far under my theme.

Is there a way to fix/change this.

Greetings

Alex

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 9, 2013 - 8:28 am

do you have a screenshot? or better yet a link where I can try - if you are letting guests vote... sounds like your theme is doing some funky z-index stuff...

Avatar
Kilomoana
Member
Free Members
sp_UserOfflineSmall Offline
Apr 9, 2013 - 8:33 am

It is just on a test Installation, i'll send you login credentials and a direct link to the forum.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 9, 2013 - 9:19 am

there is some odd layering going on with your pages... is it still in development?  I dont think any pages are really displaying the way you want?  whats with the big empty green box at the top that fills 3/4 of the pages?  and sidebars show below the header... and the tree looking dude displaying between the big green box and the forum?  one has to scroll almost two pages just to see the forum...  sorry, not trying to be critical, but seems like some general layout issues...

and for some reason its throwing off jquery ui...  I dont see what you said, for me the poll opens up at the bottom of the page, mostly off screen...  absolute positioning but 2100 px from top...  jquery ui dialog stuff is trying to center the dialog in the page and obviously getting confused... so was wondering the status of the theme...

Avatar
Kilomoana
Member
Free Members
sp_UserOfflineSmall Offline
Apr 9, 2013 - 9:24 am

The Box is the slider and the tree is for decoration. You can see a the full theme at grow-together.de.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 9, 2013 - 9:48 am

oh, you just havent filled the slider yet... but having that on every page seems odd... so you always have to scroll to see any content... but no worries, your site, your choices! ;)

still something in the theme the way its layering and combining absolute and relative positioning is throwing off jquery ui... but cannot really debug the js on your site because you are using the minimized scripts... if you wanted to add:

define('SP_SCRIPTS_DEBUG', true);

to your wp config file, I could try to investigate further...

Avatar
Kilomoana
Member
Free Members
sp_UserOfflineSmall Offline
Apr 9, 2013 - 10:21 am

Ok, it's just added. Thank you for the help.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 9, 2013 - 12:08 pm

afraid I am at a bit of a loss as to what is going on. After debugging it though, it is the jquery ui js that comes with wp that is calculating the position. It should be in the center of the screen... and it tries to handle collisions during those calculations... not sure what is driving it to be driven down low... but since you said you saw it high (-3px vs 3000px for me), there must be something confusing it..

you are running something called ubermenu plugin but are you actually using it? I dont seem to see it...

also, as a test, could you try disabling your other plugins and see if there is any change? just wondering if some sort of conflict - though no errors thrown..

Avatar
Kilomoana
Member
Free Members
sp_UserOfflineSmall Offline
Apr 9, 2013 - 12:18 pm

Hmm I just disabled the ubermenu, used it on another theme. But no changes. I will look over the gerneral styling of the theme, I think some of my containers should not have been set to relative position.

Here is a Screenshot with the values from Firebug. Which reference is the script using for calculating the position? A specific container or the viewport?simplepress.jpgImage Enlarger

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 9, 2013 - 12:58 pm

jquery ui uses the window... for reference: http://api.jqueryui.com/dialog.....n-position

we are passing it 'center for the position which should be the center of the window...

I had to step away for bit, but do plan to look at some more later today...

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: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625