Notifications
Clear all

Remove nav and footer with external workaround

21 Posts
2 Users
1 Reactions
1,959 Views
TinyWebGallery
Posts: 924
Admin
(@admin)
Prominent Member
Joined: 16 years ago

Now it seems to be there!

Reply
TinyWebGallery
Posts: 924
Admin
(@admin)
Prominent Member
Joined: 16 years ago

Now ai_external.js contains:

if (typeof iframe_hide_elements === 'undefined') {
var iframe_hide_elements = '.navbar yamm navbar-default navbar-static-top fixedheader,.fixedheader-spacer,#footer';
}

Reply
TinyWebGallery
Posts: 924
Admin
(@admin)
Prominent Member
Joined: 16 years ago

You have to define valid jquery selectors here. 

use

header,footer,.breadcrumb-wrapper

as a start! # is only for ids 
you have also defined several classes of a single element. so .navbar would have been o.k. the rest makes the selector invalid again. 

Best, Michael

 

Reply
1 Reply
(@connaronetime)
Joined: 5 years ago

Active Member
Posts: 12

@admin so close!! But I still can't get it to work.

 

I have added header,footer,.breadcrumb-wrapper to Hide elements in iframe. Is there something else I need to be doing? Would it be easier if I give you a login to Wordpress?

 

Thank you so much,

Connar

Reply
TinyWebGallery
Posts: 924
Admin
(@admin)
Prominent Member
Joined: 16 years ago

I don't know how you do it but :

https://onetime.sport/events/wp-content/plugins/advanced-iframe/js/ai_external.js
https://onetime.sport/events/wp-content/plugins/advanced-iframe/js/ai_external.template.js

is again the free version! Do you have some kind of backup which is restored? 

Best, Michael

Reply
1 Reply
(@connaronetime)
Joined: 5 years ago

Active Member
Posts: 12

@admin Strange, I've deleted and reinstalled the Advanced iFrame Pro plugin. 

 

header,footer,.breadcrumb-wrapper still aren't working..

 

I'm urging Wordpress multi-site, would that be causing issues?

Reply
TinyWebGallery
Posts: 924
Admin
(@admin)
Prominent Member
Joined: 16 years ago

https://onetime.sport/events/wp-content/plugins/advanced-iframe/js/ai_external.js  

does still contain

iframe_hide_elements='.navbar yamm navbar-default navbar-static-top fixedheader,.fixedheader-spacer,#footer';}

and NOT header,footer,.breadcrumb-wrapper

Best, Michael

Reply
Page 2 / 3