Page 1 of 1

Styling image landing page

Posted: 13 Sep 2022, 04:19
by metallissimus
Hi,

just to make sure I don't break anything somewhere else:
I want to remove the page navigation and the caption from the image landing pages (e.g. this one https://hochzeiten.danielbollinger.de/p ... zwald-002/).
Is this the right way to go?
Code
.pagenav, .file h1{
display:none;
}
Since I don't use page navigation anywhere else, in this case this should be fine.

How would I hide it only on these pages, if I wanted to still use it on the rest of the site?

Re: Styling image landing page

Posted: 13 Sep 2022, 05:11
by mjau-mjau
Try this to hide those elements on all image landing pages:
Code
.x3-files .pagenav, .x3-files h1.title {
  display: none;
}

Re: Styling image landing page

Posted: 13 Sep 2022, 05:28
by metallissimus
Thanks! I couldn't identify the .x3-files class as the one in question.

Is it really .x3-files though? I can only find .x3-file.

Re: Styling image landing page

Posted: 13 Sep 2022, 05:48
by mjau-mjau
metallissimus wrote:Is it really .x3-files though? I can only find .x3-file.
You are right. x3-file not x3-files ...