You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using position:fixed for more complex headers works like a charm.
Unfortunately, it is not possible to use a selector to target elements as headings on specific pages (e.g. first page). My use case is to only show the logo on the first page. I tried to access that element with ::nth-child(1), but as fixed-elements are all the same element (always first), this is not possible.
Is there any way to have distinct classes for the pages (e.g. .page1 .logo { ... }) ?
thx
The text was updated successfully, but these errors were encountered:
chvonrohr
changed the title
CSS-Selector for page (e.g. for showing logo only on first page) -> CSS question
CSS-Selector for page (e.g. for showing logo only on first page)
Jun 16, 2017
For now, I change the the header position css from fixedto absolute, to show it only on the first page. But page-specific selectors would help a lot. This issue seems to be a duplicate of #474 tough, so I close it.
Using
position:fixed
for more complex headers works like a charm.Unfortunately, it is not possible to use a selector to target elements as headings on specific pages (e.g. first page). My use case is to only show the logo on the first page. I tried to access that element with
::nth-child(1)
, but as fixed-elements are all the same element (always first), this is not possible.Is there any way to have distinct classes for the pages (e.g.
.page1 .logo { ... }
) ?thx
The text was updated successfully, but these errors were encountered: