View Full Version : Centering Help
sameoldsam
Jun-12-2009, 12:46 PM
Is there any way to get the pages to center script... for example http://summerwindpro.smugmug.com/gallery/password.mg
there are things that start from the left, some are indented and some like the logo and footer are centered. Also is there a way to put space between the lines? ...like to seperate the password dialog more from the header and footer so it stands alone.
Thanks,
Kathy
J Allen
Jun-13-2009, 01:58 AM
Try this in your CSS box and see if you like:
/*=====Password-Page=====*/
.passwordPage
{width: 415px;
margin-top: 40px !important;
margin-bottom: 200px !important;}
.passwordPage
{text-align: center!important;
width:700px;}
.passwordPage
.formInput div.title,
.passwordPage
.boxTop
{display: none;}
.formInput input.inputText
{margin:10px auto}
.passwordPage
.formButtons
{margin-right:60px}
:ear
sameoldsam
Jun-15-2009, 07:39 PM
Thanks so much, I got into other problems and forgot all about that one. I did as you said and it looks great. The line of galleries that goes back to the main page is still to the right but I think that's fine for now. I hope to get rid of that when I figure out how to do a nav bar.
The problem getting me know is the videos. They play great but the are shown in a box all the way to the right top and not centered in the space that is provided. I'm sure that there is stuff in the threads so I'm going to tackle that now.
Thanks so much...again :barb for your help.
Kathy
Try this in your CSS box and see if you like:
/*=====Password-Page=====*/
.passwordPage
{width: 415px;
margin-top: 40px !important;
margin-bottom: 200px !important;}
.passwordPage
{text-align: center!important;
width:700px;}
.passwordPage
.formInput div.title,
.passwordPage
.boxTop
{display: none;}
.formInput input.inputText
{margin:10px auto}
.passwordPage
.formButtons
{margin-right:60px}
:ear
J Allen
Jun-16-2009, 02:44 AM
The line of galleries that goes back to the main page is still to the right but I think that's fine for now. I hope to get rid of that when I figure out how to do a nav bar.
These are the breadcrumbs on your password page, to remove them from your password page only try this:
/*=====Breadcrumb on Password Page=====*/
.passwordPage #breadCrumbTrail {display:none;}
If you dont want the breadcrumb altogether try this, it will remove it and only allow you to see it when your logged in:
/*=====Remove All Breadcrumbs=====*/
.notLoggedIn #breadCrumbTrail {display:none;}
The problem getting me know is the videos. They play great but the are shown in a box all the way to the right top and not centered in the space that is provided. I'm sure that there is stuff in the threads so I'm going to tackle that now.
You must have fixed this one, they look good to me, at least your wedding one do, thats all I could find.
sameoldsam
Jun-16-2009, 09:37 AM
cool, that worked. I removed it only from the password pages. I think the breadcrumbs might be important until I do the nav bar on top, don't you?
As for the videos, no it still isn't centering. Its when I play a smaller size that it does it. I think it's ok for the medium size, but changing it looks funny. I just watched them all, they seem to play fine, centered when you hit play the first time, if you go another size then it changes up to the left corner.
Is there a way to get rid of the addtional sizes...quality, size and centering are perfect when you just play the hd version. Plus taking away the 'choices' would make it easier for the viewer.
Edit....arggg...
the Jackie Todd video centers right for hd but the other 2 don't, I've uploaded the same way, but why are they behaving differently?
Thanks so much Joe.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.