Skip to content

Apply custom CSS and Javascript to specific range of pages

Home Support Support Tickets Apply custom CSS and Javascript to specific range of pages

Viewing 3 reply threads
  • Author
    Posts
    • #10657
      Kelvin Lee
      Participant

      Dear Damian,

      I have several pages with the URI http://www.xxx.com/personnel/xxx, how can I apply the custom CSS and Javascript to those pages instead of select one by one to each pages?

      Best regards,

      Kelvin.

    • #10662
      Damian Baker
      Participant

      Hi Kelvin,

      Can you please explain this in more detail, as I am not 100% sure I understand what you are trying to do.
      Thanks.

      Kind Regards,
      Damian

    • #10663
      Kelvin Lee
      Participant

      Dear Damian,

      I have more than 10 pages to list the people profile who work in same company, the URL of the pages are http://www.xxx.com/personnel/01, http://www.xxx.com/personnel/02, 03, etc.

      More similar pages will be added. How can I apply the specific code block to all these pages instead of tick the checkbox for each page?

      Best regards,

      Kelvin.

    • #10791
      Damian Baker
      Participant

      Hi Kelvin,

      Please note, that this would require knowledge of regular expressions, and unfortunately development questions like this is out of scope with CJT Dev support. I can assist you with this as a one-off case.

      In the Expressions section of the Advanced tab, you may want to try this: ^http\:\/\/www\.xxx\.com\/personnel\/\d+

      Press Enter or Return to create the new line, and then click Save.

      This should do what you want to do.

      Kind Regards,
      Damian

Viewing 3 reply threads
  • You must be logged in to reply to this topic.