Search…

X3 Photo Gallery Support Forums

Search…
 
metallissimus
Experienced
Topic Author
Posts: 331
Joined: 17 Oct 2019, 06:54

Styling image landing page

13 Sep 2022, 04:19

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?
www.danielbollinger.de – corporate photography
hochzeiten.danielbollinger.de – wedding photography
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Styling image landing page

13 Sep 2022, 05:11

Try this to hide those elements on all image landing pages:
Code
.x3-files .pagenav, .x3-files h1.title {
  display: none;
}
 
metallissimus
Experienced
Topic Author
Posts: 331
Joined: 17 Oct 2019, 06:54

Re: Styling image landing page

13 Sep 2022, 05:28

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.
Attachments
Bildschirmfoto 2022-09-13 um 11.27.01.png
Bildschirmfoto 2022-09-13 um 11.27.01.png (203.6 KiB) Viewed 6178 times
www.danielbollinger.de – corporate photography
hochzeiten.danielbollinger.de – wedding photography
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Styling image landing page

13 Sep 2022, 05:48

metallissimus wrote:Is it really .x3-files though? I can only find .x3-file.
You are right. x3-file not x3-files ...