Home › Forums › Legacy Support › Support queries › How-to & Troubleshooting › accordion shaking
- This topic has 18 replies, 2 voices, and was last updated 5 years, 2 months ago by logan.
-
AuthorPosts
-
January 29, 2019 at 8:13 pm #194409MeesterGijsSpectatorJanuary 30, 2019 at 6:28 am #194432loganMemberHey, Yeah i can see that. this could be a cache issue. please delete browsers cache and check if it resolves. Refer this: https://screencast-o-matic.com/watch/cqVv1O34GF let me know if there is something i can help with. regardsJanuary 30, 2019 at 6:32 am #194435MeesterGijsSpectatorCaching wasn't the issue. Perhaps the styling of accordion has changed with an update and doesn't fit the space anymore?? When deleting this code it came back, see video. /* EXTRA OEFENINGEN dit nodig omdat de titel trilde (jitter) bij hovering */ .page-id-4634 .accordion-heading a{display:block;} /* EXTRA OEFENINGEN hover over tekst */ .page-id-4634 .accordion-heading a:hover{ color: #88deb4 !important; } /* LEERTIPS dit nodig omdat de titel trilde (jitter) bij hovering */ .page-id-722 .accordion-heading a{display:block;} /* LEERTIPS hover over tekst */ .page-id-722 .accordion-heading a:hover{ color: #88deb4 !important; } /* EXAM ANTWOORDEN dit nodig omdat de accordion jittert en om hover color fff te houden */ .single-course .course_finish .accordion-heading a{display:block;} .single-course .course_finish .accordion-heading a.accordion-toggle:after{display:block;} .single-course .course_finish .accordion-heading a:hover{ color: #fff !important; } .single-course .course_finish .accordion-heading a.accordion-toggle:after:hover{ color: #fff !important; }January 30, 2019 at 7:04 am #194440loganMemberWell, that is possible. So if you know the origin of the problem? what do you want me to do with this?January 30, 2019 at 8:12 am #194459MeesterGijsSpectatorThat's the thing. I don't know the origin.. Was just a suggestion. Someone told me yesterday. Don't know how long this is jittering/shaking. I'm just worried that eventually all this code on code on code on top of code will make my site vulnerable and slow.January 31, 2019 at 7:30 am #194623loganMemberHello, I agree with vulnerable but not slow because if you copy codes from customizer > custom css and paste it in notepad. save this file as custom.css and after that check its property. this will be in a kb size. it does not take much space. your website will run as it does trust me. for the vulnerable thing there is nothing we cant fix with codes. codes are magic. if you want you can use theme's normal functionality. that will remain unchanged forever. that will work smooth. if you are adding extra codes as per your requirement then you have to be lil careful about it. it may cause lil issues with updates but that does not mean that could not be fixed. this is what we do here to help our valuable customers. i hope you understand what am i trying to make you understand.
for the issue: i still did not find anything it does not happen at my end don't know why. am i skipping something ?? Here is the video: https://screencast-o-matic.com/watch/cqVwiu3zxO if removing those wicked codes solve your problem. remove them and let me know i will write new codes to style those accordions. Once we get some feedback, we can take the next troubleshooting step in resolving your issue.January 31, 2019 at 8:03 am #194631MeesterGijsSpectatorI definitely understand and even agree with what you are saying. Regarding the issue. I will create a private page where I'll add the accordion. I've noticed that the code only works for the accordions on 1 page. So I have three pages with accordions, so I used page id's plus code. I'll create a new page and don't add the code to make them stop jitter. You'll see the issue there. I can't delete the code because some public pages will then not function and I don't want my visitors to see that. First I have an appointment. I will add a comment once the page is up. Talk to you later, today.January 31, 2019 at 8:13 am #194635MeesterGijsSpectatorThis reply has been marked as private.February 1, 2019 at 1:47 pm #194847loganMemberHey, Use this code in custom css. div.accordion .accordion-group.panel .accordion-heading a:hover {display: block !important; color: #fff !important;} it stops the jittering.February 3, 2019 at 11:18 am #195033MeesterGijsSpectatorWithout the code for color... Does the code work for accordions on all/any page? So like this: div.accordion .accordion-group.panel .accordion-heading a:hover {display: block !important;}February 4, 2019 at 10:02 am #195110loganMemberActually the main problem was : a class with the display: none; property was working on the accordion's heading. on mouse hover it was hiding. i have given text color because of the same color was applied on heading as well as background. Probably, it should work.February 4, 2019 at 8:56 pm #195233MeesterGijsSpectatorThanks, worked great! But.. I still have the accordion that shows after completing course. It now shows green text when hovering. See this screenshot. So it's not visible when clicking it. How do I turn the text of that specific hovering to #fff? You can find this green bar in any finished course. So you need to start one and just click through it. Even with just 0% score you'll get the bar at the end...February 5, 2019 at 12:01 pm #195354loganMemberHello, use this custom css. .page-id-14452 div.accordion .accordion-group.panel .accordion-heading a:hover {color: #fff !important;} this will work on this page only: http://prntscr.com/mgw16e Because it have white background the above code will conflict with white font color. on this page : https://meestergijs.nl/extra-oefeningen/February 5, 2019 at 1:16 pm #195368MeesterGijsSpectatorBut I need it to work on every course page after completing course, not other pages; screenshotFebruary 6, 2019 at 10:58 am #195518loganMemberHello,
Try this custom css.
.page div.accordion .accordion-group.panel .accordion-heading a:hover {color: #f12f2f !important;}
-
AuthorPosts
- The topic ‘accordion shaking’ is closed to new replies.