XF 2.1 Possible to define CSS based upon the current page number?

Kevin

Well-known member
For the home page over at Cameraderie photography forum I'm using a bespoke add-on for the front page. It's basic at the moment as it'll be a "forever work-in-progress" situation, but at the moment I'm using it to feature images that are posted in the forums. I am using pagination with the display so visitors can click through to view all of the 'featured' images.

My question is that I'm using CSS with a 'display: none' to not show the page title, breadcrumbs, or description at the top of the content area but would it be possible to make it conditional so that those items are only suppressed when viewing the main home page and not on any of the pages. To clarify, I don't want to display them on https://cameraderie.org/ but do want to display them on https://cameraderie.org/?page=2 and so on.


Thanks :)
 
Top Bottom