[Resolved] [Plugin: WP Photo Album Plus] Is WPPA compatible with responsive themes
Is there a way to make the albums and thumbnails responsive?
I would like to activate a new responsive theme (responsive themes allow the site to work properly on smartphones and tablets (smaller screens).
I noticed that when I activate a responsive theme the Photo Albums and the thumbnails do not get smaller and they run off the screen.
Thank you so much,
Is there some kind of ‘standard’ documentation to this?
There’s no standard documentation to “Responsive Design” however it should be pretty straight forward change. All* fixed DIVs should be “converted” to fluid DIVs and that will turn fixed “layout” to fluid one.
Please see: http://www.alistapart.com/articles/responsive-web-design/ and also feel free to peak at my http://wordpress.org/extend/themes/responsive if needed.
Thank you opajaap and Emil.
I see you two know one another.
“The best plugin developer (opajaap) working with the best Responsive theme developer.” How cool is that!
Take your time opajaap. I will not activate Emil’s Responsive theme until the WP Photo Album Plus plugin is responsive as well.
This was more like giving a hand that’s all. On one developer to another basis with single goal and that’s making our users happy 🙂
Thanks a bunch Emil 🙂
Opajaap – the URL below is a great example of Responsive photos. Drag the right side of the webpage towards the left and, witness the changes of the page and photos layout. Absolutely cool!
I think a lot of the technology required is already in wppa+.
I have an auto setting for the wppa-container width (system-wide), and a corresponding scipt token (%%size=auto%%) for individual wppa+ invocation occurrencies.
This looks at the contanier’s parent width:
w = document.getElementById('wppa-container-1').parentNode.clientWidth;
So it relies upon the fideability of the parent node’s client width.
and recalculates all required items. Currently this still needs a timed loop, but i want change it into an event driven action.
At which events should i trigger?
You can see what wppa+ already can do here
Yes, i am definitely going to examin your responsive theme
A question. Please visit this test site
When hoovering over the thumbnails, the popup appears in the left top corner of the thumnail area. This is in the Responsive theme. In other themes the popup lays on top of the thumb.
The reason is that offsetTop and offsetLeft are 0 or a too small value. The same software shows the correct values in other themes.
What did you do, or, better, what can i do to get the proper location of the popup inside the surrounding div?
This seems to be the only big problem in making wppa+ compatible with the Resposnsive theme at the moment.
P.S. Few other thing: please check the install as well, your dates don’t work the way they should:
Posted on %A %B %e%q, %Y by admin — No Comments ↓
and when I mouse-over the image entire DIV layer shows up instead of regular alt text please see: http://cl.ly/000l3k0x0k05160q280z
All other plugins disabled: makes no difference.
I have a similar same problem with IE6, that i could not fix.
I have been playing around with absolute and relative positioning, but nothing helps…
The alt text contains the html for the description below the popup.
You would not see it if the popup were on the right place.
I put in a diagnostic line below the thumbnail area, see the green line of text.
I would not worry about IE6, the browser is dead and even WordPress dropped the IE6 support last year. IE7+ is acceptable.
Also when I tested this in Firefox, with their new browser developer tool .wppa-popup is being “pushed” all the way to the left, not being anywhere near the actual thumbs http://pix.am/uQwH/ and also no styles are showing in any of the windows, HTML and right side where the actual elements should be.
Lastly please see the Markup Validation, that usually can help a lot too.
32 and 64 is from the Theme, but that will not hurt anything HTML5 does not recognize them yet, however the rest it might, not 100% sure but it’s definitely worth a try.
P.S. Run your JS with http://www.jslint.com/ too just in case, you never know 🙂
The problem is in your css.
I installed Toolbar Theme switcher. If you register and log in, you can change to: Twentyten, Twentyeleven, simpleX (responsive), Fluid Blogging (also responsive) and of course Responsive.
All themes work well, except Responsive.
I took the source of the page (firefox), saved it and commented the link to responsive-style-css out. Than the popups come up at the right place.
Sorry, but it is a little too simple to point to a possible violation of standards in wppa+ code.
If you didn’t realize I was actually trying to help you. None of the above was me saying hey dude, it’s you.
Anyways good developer fixes the “issue” and never blames on the next guy in line:
It took me about 5 minutes 🙂
I did not want to ‘blame’ you, i just wanted to share the results of my analisis so far.
Thanx for your help, no change in Responsive is required as i fixed it with element style position:static;
Still need some testing and a few horizontal alignment things to fix.
Please have patiance for another few days.
- The topic ‘[Resolved] [Plugin: WP Photo Album Plus] Is WPPA compatible with responsive themes’ is closed to new replies.