Okay
  Public Ticket #3542658
nectar_g_section_conditions
Closed

Comments

  •  4
    chloe started the conversation

    Hello,

    I've built a global section that I want to be visible on all pages of the site except one.

    I saw that i have a "nectar_g_section_conditions" in the metaboxes of the page, but I don't know how to use it. I've been searching in the documentation but don't find any tip. Can you help?

    Thanks,

    Chloé

  •  3,001
    Andrew replied

    Hey Chloe,

    Thank you for reaching out to us.

    We have a guide, which includes a video tutorial, that can help you with this https://themenectar.com/docs/salient/page-builder-global-sections/. You can set the display conditions to "Everywhere" if you want it to show up on all the pages on your site.

    I hope this info helps, let us know if you need further assistance with this.

    Kind regards,

  •  4
    chloe replied

    hi Andrew, 

    As I Wrote in my previous message I want the global section to be visible in all pages of the website except one. I’m wondering if the nectar_g_section_conditions of the specific page would help me exclude it from the global section conditions I set. Can you explain to me how it works? 
    thanks 

  •  3,001
    Andrew replied

    Hi Chloe,

    Thank you for getting back to us.

    Could you please let us know if you want to remove the global section on the page you attached to this thread? To remove the global section in only one page, we'd have to use custom CSS.

    To make the changes as requested, you will need to add some custom CSS code. To do this, please follow these steps:

    From your WordPress dashboard, Navigate to Salient > General Settings > CSS/Script Related. In the custom code area, insert the provided CSS snippet:

    .page-id-15 .nectar-global-section {
      display: none;
    }

    Once the code is added, save and refresh the page to see if the change has been applied. In case it helps, please check this section from the documentation on CSS/Script Related. If this does not work as expected or If you have any further questions or need additional assistance, don't hesitate to write back, I'm happy to help. 

    Try this and let us know how it goes.

    Cheers,

  •  4
    chloe replied

    HI Andrew,

    as I'm using different GSections I slightly twisted your CSS code: 

    .page-id-1196 .nectar_hook_global_section_footer{
      display: none;
    }

    It works like a charm! thank you for helping.

    Chloé