aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchrisaga <chrisaga@piwigo.org>2005-10-15 21:31:13 +0000
committerchrisaga <chrisaga@piwigo.org>2005-10-15 21:31:13 +0000
commitc4739d34ad18857b8b2f82181ade7b27dcb97cc3 (patch)
tree844c4aaa96269ce4da61789eaef60efd2201eec8
parentf1a0d885f6f18d07629da45e0f840ddad941066f (diff)
Change the image title to <H2> since <H1> is the galery title
Plus it makes the image title header smaller wich is a good thing for users with regular sized screens git-svn-id: http://piwigo.org/svn/trunk@887 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--template/yoga/image.css6
-rw-r--r--template/yoga/picture.tpl3
2 files changed, 5 insertions, 4 deletions
diff --git a/template/yoga/image.css b/template/yoga/image.css
index d3c06eff0..33c73cd6a 100644
--- a/template/yoga/image.css
+++ b/template/yoga/image.css
@@ -5,8 +5,10 @@
#imageHeaderBar .browsePath { float: left; }
#imageHeaderBar .imageNumber { float: right; }
-#imageHeaderBar H1 {
- margin: 1ex 0; /* override default-layout for less bottom-margin */
+#imageHeaderBar H2 {
+ /*margin: 1ex 0; override default-layout for less bottom-margin */
+ text-align: center;
+ padding-top: 0;
clear: both;
}
diff --git a/template/yoga/picture.tpl b/template/yoga/picture.tpl
index 1e653e8da..1c0e69df4 100644
--- a/template/yoga/picture.tpl
+++ b/template/yoga/picture.tpl
@@ -6,9 +6,8 @@
<div class="browsePath"><a href="{U_HOME}">{L_HOME}</a>{LEVEL_SEPARATOR}{CATEGORY}</div>
<div class="imageNumber">{PHOTO}</div>
<!-- BEGIN title -->
- <h1>{TITLE}</h1>
+ <h2>{TITLE}</h2>
<!-- END title -->
- <hr class="separation">
</div>
<div id="imageToolBar">