Skip to main content
Answer

Targeting a specific page with custom CSS

  • September 7, 2023
  • 2 replies
  • 169 views

Hi,

is there a way to target a specific page via custom CSS? Like changing font or hiding stuff only on that page? I thought of using page IDs, but inspecting pages with the browser inspector I can’t find any reference to them.

Best answer by gstager

You’re right about using page IDs.

To help you find them - give this a go.

  1. Do a right click in the shown location on your platform on the page you want.
  2. Click Inspect
  3. Look nearby the highlighted line that appears - probably up a line or two
  4. Notice how my URL has the page number in it.
  5. You could also try that same convention as shown in my inspector. doc-page-xx

 

 

 

Hope that helps.

2 replies

gstager
Hero III
Forum|alt.badge.img+8
  • Hero III
  • Answer
  • September 7, 2023

You’re right about using page IDs.

To help you find them - give this a go.

  1. Do a right click in the shown location on your platform on the page you want.
  2. Click Inspect
  3. Look nearby the highlighted line that appears - probably up a line or two
  4. Notice how my URL has the page number in it.
  5. You could also try that same convention as shown in my inspector. doc-page-xx

 

 

 

Hope that helps.


  • Author
  • Novice I
  • September 7, 2023

It helps a lot!

Thank you very much