CMS Development

Jlawal
Top Contributor

Drop down filter dissappeared

SOLVE

Hello,

 

I am modifying this template on this page.

 

The filter (photo1) has dissapeared on my page.

Capture.PNG

 

When looking at the element tab on Chrome's DevTools for the original template (Photo2),  that the element circled does not appear in the element tab on my page:

 

Photo2Photo2

 

 

Any help/advice would be greatly appreciated.

 

Thanks in advance,

Jamila

0 Upvotes
1 Accepted solution
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

Drop down filter dissappeared

SOLVE

@Jlawal,

you have new issues in your js file.

There are two places where you have 'groupcall' randomly placed.  

https___www_groupcall_com_hs-fs_hub_1786725_hub_generated_template_assets_1543941150573_Marketplace_HUBGURU_PRIVATE_LIMITED_All_In_One_Full_Template_Pack_Coded_Files_AllInOneTheme-script_js.png

View solution in original post

7 Replies 7
dennisedson
HubSpot Product Team
HubSpot Product Team

Drop down filter dissappeared

SOLVE
 
0 Upvotes
dennisedson
HubSpot Product Team
HubSpot Product Team

Drop down filter dissappeared

SOLVE

@Jlawal

can you just add the missing <span class="resource-name">ALL RESOURCES</span> back into the html field?

 

Jlawal
Top Contributor

Drop down filter dissappeared

SOLVE

Hi @dennisedson,

 

That has brought back the drop-down box, but it has no functionality!

0 Upvotes
dennisedson
HubSpot Product Team
HubSpot Product Team

Drop down filter dissappeared

SOLVE

@Jlawal

there is something wrong in your js file.  

It looks like it actually creates that element. So you will need to remove that element you just added.  

in your js file, i noticed that this part was commented out

 //Groupcall   $(".footer-container-wrapper").append("<div class='back-to-top'><i class='fa fa-angle-double-up'></i></div>");
     
//Groupcall    if ($('.back-to-top').length > 0) {

. but the closing } was not removed.  

Try fixing that and see what happens

Jlawal
Top Contributor

Drop down filter dissappeared

SOLVE

@dennisedson

 

I added that back in. I haven't seen any changes on the page. I then removed the <span> tag that i added in, and the box on the page dissapeared completely.

 

 

0 Upvotes
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

Drop down filter dissappeared

SOLVE

@Jlawal,

you have new issues in your js file.

There are two places where you have 'groupcall' randomly placed.  

https___www_groupcall_com_hs-fs_hub_1786725_hub_generated_template_assets_1543941150573_Marketplace_HUBGURU_PRIVATE_LIMITED_All_In_One_Full_Template_Pack_Coded_Files_AllInOneTheme-script_js.png

Jlawal
Top Contributor

Drop down filter dissappeared

SOLVE

Thanks Dennis!!! Robot LOL

 

Removing the two 'Groupcall's made the filter appear again! Woop woop 🙂