Remove sidebar on special pages

Posted in: Newspaper
Post count: 73

Hi,

I would like to remove the sidebar on this page that is made by “The Event Calander” plugin.

https://agenturer.no/events

Here there are no option to set a “custom layout setting”

And all the sub-pages that are generated for each event. I.e:

https://agenturer.no/event/franchisekonferansen-2016/

Here it is possible to set a custom layout but even when I do the sidebar is still there. See setting here: http://www.screencast.com/t/1NLmlN9J2sB

I know the easy solution would be to set the default page layout to full width in the page template section.

But doing this will cause another issue for me as I need the sidebar to show on pages under our closed forum (that is using memberpress to keep it closed). And on those pages I have the exaxt same problem where even if I set a different custom layout nothing changes from the default.

Suggestions?

Best wishes
Lars

Post count: 22421

Hi,

Unfortunately the custom post type support is still limited in our theme and we have not tested any CPT plugins to say for sure if the post type they create is compatible with our theme settings.
If you want to remove the sidebar on all pages of this type, you can use this css code to do it:
.post-type-archive-tribe_events .td-main-sidebar{
display:none!important;
}
.post-type-archive-tribe_events .td-pb-span8{
width:100%!important;
}

This will not affect this page as it;s another event type:
https://agenturer.no/event/franchisekonferansen-2016/

Hope this helps.
Thank you!

Post count: 73

Thanks!

I think that will work.

Best wishes
Lars

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.