Add disclaimer to top of category pages — without showing on menu

  • Unknown's avatar

    I need to put a 3-sentence disclaimer at the top of 2 of my category pages, without it showing/messing up my menu names. Is this possible?
    Thank you!!

    The blog I need help with is: (visible only to logged in users)

  • That should be doable with some custom CSS. Could you please provide links to the two specific category pages, so I can help you with the code?

    Also just a heads-up that since your site has a Business plan, you’re entitled to live-chat and email support, accessible here:

    https://wordpress.com/help/contact

    You’re welcome to still post in these forums, but those other support avenues may be faster, and you’ll always get a staff reply.

  • Unknown's avatar

    Hi Kathryn,Thank you for the advice! And the offer of help! Putting this blog together has been 10 times the number of decisions I expected!

    I need the disclaimer at the top of the “Health” and the “Legal” category pages.

    Here’s a draft of the copy for the Legal page — which should be in italics.

    DISCLAIMER: The postings below are NOT legal advice! Local laws can differ greatly. These postings are intended only for information purposes. If you have questions about anything you read here, you can bring it to your local lawyer to see if/how it might be applied in your locality.

    Thank you for any help you can provide.

    Marlene

  • Hi Marlene, adding this CSS to your Customizer‘s CSS panel should do the trick:

    /* Add disclaimer to Health & Legal category archives */
    .category-health .site-content::before,
    .category-legal .site-content::before {
      content: "DISCLAIMER: The postings below are NOT legal advice! Local laws can differ greatly. These postings are intended only for information purposes. If you have questions about anything you read here, you can bring it to your local lawyer to see if/how it might be applied in your locality.";
      font-style: italic;
    }

    Let me know how it goes!

  • The topic ‘Add disclaimer to top of category pages — without showing on menu’ is closed to new replies.