View Full Version : Homepage Gallery Issue
Farrell
Apr-29-2008, 05:47 AM
Hey All,
I thought I was up and running when I ran into another glitch. I had my homepage running smoothly with only a slideshow view (which was my desired result). Last night I noticed that I somehow activated the viewing of all my galleries on the homepage. I wish to only view them from my galleries tab. Help!
Rick
Allen
Apr-29-2008, 06:03 AM
Hey All,
I thought I was up and running when I ran into another glitch. I had my homepage running smoothly with only a slideshow view (which was my desired result). Last night I noticed that I somehow activated the viewing of all my galleries on the homepage. I wish to only view them from my galleries tab. Help!
Rick
You are just missing a part of the galleries hack (http://dgrin.smugmug.com/gallery/2160039) CSS.
.homepage #galleriesBox,
.homepage #categoriesBox,
.homepage #featuredBox {
display: none;
}
.. and change this from none to block so they show on your galleries page.
.galleries #galleriesBox,
.galleries #categoriesBox,
.galleries #featuredBox {
display: block;
}
Here is your whole CSS. I added CSS to size your banner for the different size
pages and fixed the CSS for displaying the galleries boxes.
#my_banner {
width: 800px;
height: 137px;
margin: 0 auto;
background: url(/photos/281597408_AMboc-L.jpg) no-repeat; }
.galleryPage #my_banner {
width: 1170px;
height: 200px;
margin: 0 auto;
background: url(/photos/281597408_AMboc-O.jpg) no-repeat; }
.smugmug_small #my_banner,
.gallery_4738439 #my_banner, /* about us */
.gallery_4676722 #my_banner, /* services */
.gallery_4663126 #my_banner, /* guestbook */
.gallery_4676856 #my_banner, /* contact us*/
.gallery_4669201 #my_banner { /* our gear */
width: 800px;
height: 137px;
margin: 0 auto;
background: url(/photos/281597408_AMboc-L.jpg) no-repeat; }
#navcontainer ul {
margin:5;
padding:10px;
list-style-type: none;
text-align: center;
}
#navcontainer ul li {
display: inline;
}
#navcontainer ul li a {
border: .3em double #444444;
text-decoration: none;
padding: .2em 1em;
color: #EEEEEE;
background-color: #000000;
}
#navcontainer ul li a:hover {
color: #000000;
background-color: #E0E0E0;
}
#userName {
display: none;
}
#userHome {
display: none;
}
#feeds {
display:none;
}
.homepage #galleriesBox,
.homepage #categoriesBox,
.homepage #featuredBox {
display: none;
}
.galleries #bioBox {
display: none;
}
.galleries #galleriesBox,
.galleries #categoriesBox,
.galleries #featuredBox {
display: block;
}
.loggedIn .homepage #galleriesBox,
.loggedIn .homepage #categoriesBox {
display: block;
}
.play_slideshow {
display: none;
}
.journal .albumNav {display: none;}
.galleryPage #imageInfo {display:none}
#breadcrumb {visibility: hidden;}
#altViews {visibility: visible;}
.loggedIn #breadcrumb {visibility: visible;}
.gallery_4675515 .toolsbox {display: none;}
#bioBox .photo {
display: none;
}
#userBio {text-align: center !important;}
Farrell
Apr-29-2008, 06:21 AM
You are just missing a part of the galleries hack (http://dgrin.smugmug.com/gallery/2160039) CSS.
.homepage #galleriesBox,
.homepage #categoriesBox,
.homepage #featuredBox {
display: none;
}
.. and change this from none to block so they show on your galleries page.
.galleries #galleriesBox,
.galleries #categoriesBox,
.galleries #featuredBox {
display: block;
}
Allen,
I did as you said. The galleries was removed from my homepage as desired, but I still can't view them under the galleries tab.
Allen
Apr-29-2008, 06:24 AM
Allen,
I did as you said. The galleries was removed from my homepage as desired, but I still can't view them under the galleries tab.
I edited my last post and we crossed in the wind.:D Your whole CSS is
there with a few corrections and enhanchments.
Allen
Apr-29-2008, 06:30 AM
...
This might be a little more efficient. The SmugMug and critique size gallery pages are the
only ones that needs the wide banner.
#my_banner {
width: 800px;
height: 137px;
margin: 0 auto;
background: url(/photos/281597408_AMboc-L.jpg) no-repeat; }
.critique #my_banner,
.smugmug #my_banner {
width: 1170px;
height: 200px;
margin: 0 auto;
background: url(/photos/281597408_AMboc-O.jpg) no-repeat; }
Farrell
Apr-29-2008, 06:37 AM
You are just missing a part of the galleries hack (http://dgrin.smugmug.com/gallery/2160039) CSS.
.homepage #galleriesBox,
.homepage #categoriesBox,
.homepage #featuredBox {
display: none;
}
.. and change this from none to block so they show on your galleries page.
.galleries #galleriesBox,
.galleries #categoriesBox,
.galleries #featuredBox {
display: block;
}
Here is your whole CSS. I added CSS to size your banner for the different size
pages and fixed the CSS for displaying the galleries boxes.
#my_banner {
width: 800px;
height: 137px;
margin: 0 auto;
background: url(/photos/281597408_AMboc-L.jpg) no-repeat; }
.galleryPage #my_banner {
width: 1170px;
height: 200px;
margin: 0 auto;
background: url(/photos/281597408_AMboc-O.jpg) no-repeat; }
.smugmug_small #my_banner,
.gallery_4738439 #my_banner, /* about us */
.gallery_4676722 #my_banner, /* services */
.gallery_4663126 #my_banner, /* guestbook */
.gallery_4676856 #my_banner, /* contact us*/
.gallery_4669201 #my_banner { /* our gear */
width: 800px;
height: 137px;
margin: 0 auto;
background: url(/photos/281597408_AMboc-L.jpg) no-repeat; }
#navcontainer ul {
margin:5;
padding:10px;
list-style-type: none;
text-align: center;
}
#navcontainer ul li {
display: inline;
}
#navcontainer ul li a {
border: .3em double #444444;
text-decoration: none;
padding: .2em 1em;
color: #EEEEEE;
background-color: #000000;
}
#navcontainer ul li a:hover {
color: #000000;
background-color: #E0E0E0;
}
#userName {
display: none;
}
#userHome {
display: none;
}
#feeds {
display:none;
}
.homepage #galleriesBox,
.homepage #categoriesBox,
.homepage #featuredBox {
display: none;
}
.galleries #bioBox {
display: none;
}
.galleries #galleriesBox,
.galleries #categoriesBox,
.galleries #featuredBox {
display: block;
}
.loggedIn .homepage #galleriesBox,
.loggedIn .homepage #categoriesBox {
display: block;
}
.play_slideshow {
display: none;
}
.journal .albumNav {display: none;}
.galleryPage #imageInfo {display:none}
#breadcrumb {visibility: hidden;}
#altViews {visibility: visible;}
.loggedIn #breadcrumb {visibility: visible;}
.gallery_4675515 .toolsbox {display: none;}
#bioBox .photo {
display: none;
}
#userBio {text-align: center !important;}
Allen,
Thanks, once again! It appears to be working like a charm!
Rick
cschlosser
Apr-29-2008, 01:30 PM
I am having the same problem at cschlosser.smugmug.com, also I can't seem to decrease the size of the box around the slideshow. I think I have the code installed correctly, however, my galleries are no where to be found.
Thanks for your help
cschlosser
Apr-30-2008, 04:25 PM
I am having the same problem at cschlosser.smugmug.com, also I can't seem to decrease the size of the box around the slideshow. I think I have the code installed correctly, however, my galleries are no where to be found.
Thanks for your help
Bump - I have tried to install the css code that is included in this screen but I still can't get my gallaries to show up. I have been able to include my featured gallaries and my most popular pictures, but not the core gallaries section. Any help would be much appreciated.
Thanks
Allen
Apr-30-2008, 06:45 PM
Bump - I have tried to install the css code that is included in this screen but I still can't get my gallaries to show up. I have been able to include my featured gallaries and my most popular pictures, but not the core gallaries section. Any help would be much appreciated.
Thanks
Welcome to Dgrin :wave
I think you galleries are hidden in your control panel. Go there and look under
the homepage tab and if you see them click show.
cschlosser
May-01-2008, 11:24 AM
Welcome to Dgrin :wave
I think you galleries are hidden in your control panel. Go there and look under
the homepage tab and if you see them click show.
That did the trick, I didn't realize that categories and gallaries were the same section. Thanks for the help, any ideas how I can cut down the box around my slideshow?
KrughPhoto
May-07-2008, 01:10 PM
Hello Allen - I've been reading quite a few of your responses to users trying to accomplish the following: Slideshow on homepage w/no galleries AND galleries on "galleries" page with no slideshow. I think I have everything lined up, however the code: .galleries #bioBox {display: none;} hides nearly everything on my galleries page. If I take that code out, everything shows up fine (minus the fact I don't want to have a slideshow there).
Any ideas?
I have categories on "show" in my control panel, slideshow in my bio, hmm that's all the relevant details popping in my mind at the moment.
Thanks in advance for any help!!
Allen - KrughPhoto
http://krughphoto.smugmug.com
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.