Okay
  Public Ticket #2926893
Call to Action on The Events Calendar plugin
Closed

Comments

  •  1
    John started the conversation

    I'm using The Events Calendar plugin for displaying events on the website I'm developing and I want to stop the Call to Action appearing at the bottom of the Events page.

    As the Events page is generated by the The Events Calendar plugin and doesn't exist as a page entity in of it self - I can't seem to remove it by adding to the Pages to Exclude the Call to Action Section box on the the Call to Action salient options. 

    Is there another way to stop it appearing via css or javascript?

    Regards

  •  2,959
    Andrew replied

    Hello John,

    Use the following CSS>

    .post-type-archive-tribe_events #call-to-action {
        display: none;
    }
    

    Regards

  •  1,878
    Judith replied

    Hi John,

    Please try this css:

    .compose-mode #nectar_fullscreen_rows .full-page-inner>.container>.span_12>.vc_element:not([class*=offset-]), .compose-mode .vc_row-fluid>.span_12>.vc_element:not([class*=offset-]), .compose-mode .vc_row-fluid>.span_12>.vc_element>.wpb_column:not([class*=offset-]), .full-page-inner>.container>.span_12>.wpb_column:not([class*=offset-]), .full-page-inner>.span_12>.wpb_column:not([class*=offset-]), html body .vc_row-fluid>.span_12>.wpb_column:not([class*=offset-]) {
        display: none;
    }

    Thanks.

  •  1
    John replied

    Thank you for you CSS, Andrew, It worked.

    Just wondering if you knew the CSS to stop it appearing on individual events e.g. https://hopeful-fermat.212-48-69-126.plesk.page/event/huge-website-launch-party/

  •  1,878
    Judith replied

    Hi John,

    Please send the password of the page.

    Thanks.

  •   John replied privately
  •  1,878
    Judith replied

    Hi John,

    Please try this css:

    body #call-to-action {
        display: none;
    }

    Thanks.

  •  2,959
    Andrew replied

    Hello John,

    This might help.

    .single-tribe_events #call-to-action {
        display: none;
    }
    

    Regards,