• Resolved nassimguita

    (@nassimguita)


    Hi Lifterlms team,

    I have an issue when I use Hooks option (GeneratePress theme).

    I have built a navigation menu and a footer with Elementor page builder and I display it on my website via the hooks option of GeneratePress theme.

    The issue when I do this is both of nav menu and footer are displayed into the certificate. So when I click on “print certificate”, I find, the nav menu, the certificate and the footer in the same page.

    So how I can solve this please ?

    Thank you advance.

    Kind regards,
    Nassim G.

Viewing 2 replies - 1 through 2 (of 2 total)
  • @nassimguita,

    You’ll want to locate the CSS classes or ids of your header,footer, and/or navigation elements you do not want displayed on a certificate and then hide them using print only styles (or hide them all together for certificates).

    Here’s some example css that you could to hide them:

    body.single-llms_certificate #site-navigation,
    body.single-llms_my_certificate #site-navigation { display: none; }

    Notice the above CSS hide “#site-navigation” which is *probably* not your element’s ID (but it might be). You’ll want to find the IDs/Classes of your elements and update that CSS to reflect your theme’s elements.

    If you wanted to hide in print only you could use a print media query as explained here: https://joshuawinn.com/css-print-media-query/

    If you’re not sure what to do with custom css you can refer to this doc: https://lifterlms.com/docs/add-custom-css-using-wordpress-customizer/

    Best,

    Thread Starter nassimguita

    (@nassimguita)

    Hi Thomas,

    Great ! It works perfectly. I close the topic.

    Thank you !

    NG

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Certificate displaying issue when using Hooks (GeneratePress + Elementor)’ is closed to new replies.