• Resolved karsten007

    (@karsten007)


    Hello!

    I am using google ads located in the footer widgets as you can see here:

    https://goo.gl/A2L2no

    But on my sales copy pages I would like to hide the footer widgets. Could somebody advise me of how to do that?

    Thank you
    Karsten

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi karsten. To target specific pages you’d need to get one of the classes assigned in the body element. You could do it based on post or page id (postid-nnn or page-id-nnn). Or, if the pages all use the same unique template, you could use that class (like page-template-page-templatestemplate-ohne-social-php). Then you just hide the widgets container:

    .page-id-123 #footer-widgets {
      display: none;
      }

    Give that a try.

    Thread Starter karsten007

    (@karsten007)

    Hi bdbrown,

    thank you very much for your explanation about targeting specific pages.

    This is exactly the advise I was looking for.

    Have a great time.

    I really appreciate your great support!

    You’re most welcome. Glad to help.

    Thread Starter karsten007

    (@karsten007)

    topic resolved

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to hide the footer widget?’ is closed to new replies.