Jump to content

what's interfering with my code

Recommended Posts

hi there, 

 

I have been editing this site over last week, and figuring things out as i go along.  Today when i'm finally happy with the bare bones of the site and was planning to start adding and editing content i realize my accordion menu code blocks are to working. 

 

site: https://e-kytex.com/items

code originally used: https://codepen.io/brenden/pen/Kwbpyj

i have had zero problems with these working until now, and i am honestly stumped as to what exactly is interfering. 

 

Link to comment
  • Replies 8
  • Views 649
  • Created
  • Last Reply

the code is insierted inside 3 code block on the page. i just made a new page called test, to see if this was a site wide problem or just on the page. 

 

problem is site wide. currently going through every code/plug in i may have inserted. so far no luck. 

Link to comment
1 minute ago, kytex said:

the code is insierted inside 3 code block on the page. i just made a new page called test, to see if this was a site wide problem or just on the page. 

 

problem is site wide. currently going through every code/plug in i may have inserted. so far no luck. 

Can you open code blocks & paste CSS & JS here?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
2 minutes ago, tuanphan said:

Can you open code blocks & paste CSS & JS here?

<ul class="accordion"> 
  <a class= "toggle" href= "javascript:void (0);"><h3>Aalborg Industries</h3></a>
  <ul class= "inner">
  <li>KBO-R40M
   <li>MISSION OC 3000/2400 KG/H
     <li>MISSIONTM OC
       <li>OID 01 A
           <li>AQ – 16
             <li>RMS9
               <li>AQ-12
                 <li>And any other Aalborg industry models you might need.</li>
  </ul>
             
                 
  <a class= "toggle" href= "javascript:void (0);"><h3>alfa laval </h3></a>
   <ul class= "inner">
 <li>P605
   <li>SA836
     <li>X-280-D-40/4-A06
       <li>SA825
         <li>JWP-26-C100
           <li>JWP-26-C80B
             <li>PU150
               <li>APV K34
                 <li>MOPX306TGT-24-60
                   <li>UBK-1
                     <li>SA861
                       <li>FCM 1300 SS
                         <li>ALP-0055-BBD100/112
                           <li>And any other Alfa Laval models you might need.</li> 
  </ul>

  

this is the code that has shown no problems for past 5 months or so, until earlier today. 

 

besides that i have a code for custom form in my contacts page but no effect on my accordion if i remove it. so that leads me to believe that is not it. beside that i have no idea. just went through everything that is the only code i still have

Link to comment
8 minutes ago, kytex said:

this is the code that has shown no problems for past 5 months or so, until earlier today. 

 

besides that i have a code for custom form in my contacts page but no effect on my accordion if i remove it. so that leads me to believe that is not it. beside that i have no idea. just went through everything that is the only code i still have

I mean CSS & JS code. Your code is HTML

Look screenshot. Left is HTML. Right is CSS & JS.

image.thumb.png.bf59f6974044c2680359835c7e31580c.png

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.