harry_ord Posted December 3, 2017 Share Posted December 3, 2017 Hello This is my page:http://www.armonisencia.cl/site/puntos-de-venta/ In this page i'm using an accordion made in Javascript that i got from here: In desktop mode functions flawlessly, but when i shrink the nav window, some of the accodin headings become unclickable. If i put less items and try again, it works on a small scren, so i believe that the accordions are overlapping each other somehow and that's why maybe this is more a css issue than a Javascript issue so i didn't know where to post this. So, can you help me display this accordion on mobile devices? Link to comment Share on other sites More sharing options...
iwato Posted December 3, 2017 Share Posted December 3, 2017 It might also be the length of the entry. The accordion entries are built with <li> elements. The default nature of a <li> element is that of a block. It may be that whatever is contained in the block exceeds the width of the block. Is autowrap turned on? Have you tried using shorter entries? I do not believe that the number of entries is causing the problem. Roddy Link to comment Share on other sites More sharing options...
dsonesuk Posted December 3, 2017 Share Posted December 3, 2017 The problem is as ready mentioned in a identical topic you posted, your code is invalid, it has misplaced closing tags, it has duplicate JavaScript coding. You can't fix a ships engine unless all the holes in the hull are fixed as well. Link to comment Share on other sites More sharing options...
harry_ord Posted December 3, 2017 Author Share Posted December 3, 2017 Problem solved. This is the story: I'm using the page builder that comes with the Divi Wordpress' theme and for being tidy i created every accordion item in a separated "text element" that caused me the trouble. What i did to solve it: I used just 1 text element and i put all the html there and now is working well. So i shouldn't trust those page builders? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now