presence
Oct-26-2007, 03:41 AM
Hi,
My header/banner is normally 750px wide on the homepage, category page but I want to make it 960px wide on all the gallery pages.
Is .gallery the right code for applying css to all the gallery pages. Here's a sample gallery page (http://presence.smugmug.com/gallery/2767650#148941434) and here's the code I think should work (but it doesn't:scratch)
/* =============== */
/* ==Header info== */
/* =============== */
#my_banner {
margin-left: auto;
margin-right: auto;
padding: 30px 0 0 0px;
width: 750px;
background-color: #F5F5E7;
border-bottom: 10px solid #990031;
}
/* ============================= */
/* ==Header info for galleries== */
/* ============================= */
.gallery #my_banner {
margin-left: auto;
margin-right: auto;
padding: 30px 0 0 0px;
width: 960px;
background-color: #F5F5E7;
border-bottom: 10px solid #990031;
}
Thanks in advance.
My header/banner is normally 750px wide on the homepage, category page but I want to make it 960px wide on all the gallery pages.
Is .gallery the right code for applying css to all the gallery pages. Here's a sample gallery page (http://presence.smugmug.com/gallery/2767650#148941434) and here's the code I think should work (but it doesn't:scratch)
/* =============== */
/* ==Header info== */
/* =============== */
#my_banner {
margin-left: auto;
margin-right: auto;
padding: 30px 0 0 0px;
width: 750px;
background-color: #F5F5E7;
border-bottom: 10px solid #990031;
}
/* ============================= */
/* ==Header info for galleries== */
/* ============================= */
.gallery #my_banner {
margin-left: auto;
margin-right: auto;
padding: 30px 0 0 0px;
width: 960px;
background-color: #F5F5E7;
border-bottom: 10px solid #990031;
}
Thanks in advance.