|
|
Thread Tools | Display Modes |
|
#1
|
|
|
Beginner grinner
|
Customisation of Width of Homepage Gallery
We are having trouble with the width of our gallery once our own CSS is applied.
It appears to be stuck on fixed width when we would like to make it stretch to 100% Here is a link to our gallery http://adfmedia.smugmug.com/ Is there anyway we can customise it? Has anyone got any code to get around this? Thanks again |
|
|
|
|
#2
|
|
|
Scripting dude-volunteer
|
Several observations about your CSS:
__________________
--John Homepage • Popular JFriend's javascript customizations • Secrets for getting fast answers on Dgrin Always include a link to your site when posting a question |
|
|
|
|
#3
|
|
|
Beginner grinner
|
Thanks jfriend i've fixed up some of the issues you mentioned above.
I might not have explained myself right here is a picture of what i'm after ![]() I want to stretch the red square to where the blue square is |
|
|
|
|
#4
|
|
|
Scripting dude-volunteer
|
There are two containing divs that are declared to be 750px wide which is why the content won't stretchy wider. One is #homepage (Smugmug's div and CSS), the other is #main_content (your div and your CSS).
You can fix the homepage div with this CSS: #homepage {width: auto;} I don't know if you only want the main_content div to go wider only on the homepage (since it's on all pages) or on all pages. To make it wider only on the homepage, use this: .homepage #main_content {width: auto;} To make it fit it's container on all pages, use this: #main_content {width: auto;}
__________________
--John Homepage • Popular JFriend's javascript customizations • Secrets for getting fast answers on Dgrin Always include a link to your site when posting a question |
|
|
|
|
#5
|
|
|
Beginner grinner
|
Awesome!!, works!
thanks for that! |
|
|
|
|
#6
|
||
|
Beginner grinner
|
specific width of the page
Could you please help me, how the CSS would look like if I would like to use a specific width only on a specific page (gallery)?
I would like to have following page to have a width 700pix. http://pixien.smugmug.com/Sampler/ab..._qJCkx#000000_ I've tried: #about {width: 700;} but that was definitely only a "nice try" , which didn't work.Thx for help. Patrik Quote:
|
|
|
|
||
|
#7
|
|
|
Major grins
|
Russell -
I noticed that this: Code:
ul li {
background: url(../images/bkgrnd_li_bullet.gif) no-repeat 10px 6px;
padding-left: 25px;
is causing this: |
|
|
|
|
#8
|
||
|
Major grins
|
Quote:
Code:
.gallery_14395571 #albumDescription {width: 700px; margin: 0 auto 0;}
|
|
|
|
||
|
#9
|
|
|
Major grins
|
Russell -
You could also try customization #10 from THIS PAGE : ( I changed this from 28px to 30px which is as centered as I can get it before it wraps into two lines. ) Code:
/* ==================================================== */
/* == FAQ #18, Line up boxes with titles underneath === */
/* ============== Current as of 13 Feb 07 ============= */
/* ==================================================== */
.miniBox {width:122px; text-align:center; height:210px; margin:0 30px;}
.miniBox .photo {float:none; width:122px; height:auto; _height:1px;}
.miniBox .albumTitle {width:122px;}
.miniBox .description {width:122px;}
.miniBox .updated {width:122px;}
.loggedIn .miniBox {height:auto; min-height:300px;}
.loggedIn .miniBox .smbuttons {margin:0 auto; width:122px;}
.loggedIn .miniBox input {width:122px;}
.loggedIn .miniBox textarea {width:112px;}
.boxBottom .albumLarge {width:192px; height:350px; text-align:center; margin:0 24px;}
.albumLarge .photoLarge {float:none; width:192px; height:auto; _height:1px;}
.albumLarge .albumTitle {width:192px;}
.albumLarge .description {width:192px;}
.albumLarge .updated {width:192px;}
.loggedIn .boxBottom .albumLarge {height:auto; min-height:450px;}
.loggedIn .albumLarge .smbuttons {margin:0 auto; width:192px;}
.loggedIn .albumLarge input {width:192px;}
.loggedIn .albumLarge textarea {width:182px;}
Last edited by Sniff Photography; Nov-03-2010 at 10:21 PM. |
|
|
|
|
#10
|
||
|
Scripting dude-volunteer
|
Quote:
__________________
--John Homepage • Popular JFriend's javascript customizations • Secrets for getting fast answers on Dgrin Always include a link to your site when posting a question |
|
|
|
||
|
#11
|
|
|
Major grins
|
P.S. -
You may need to change the first line from: Code:
.miniBox {width:126px; text-align:center; height:210px; margin:0 30px;}
Code:
.miniBox {width:126px; text-align:center; height:320px; margin:0 30px;}
Last edited by Sniff Photography; Nov-05-2010 at 08:31 PM. |
|
|
|
|
#12
|
||
|
Major grins
|
Quote:
I changed my original post to reflect this . I'm no expert, just trying to help. Thank you for catching my over-thinking a simple fix |
|
|
|
||
|
#13
|
|
|
Scripting dude-volunteer
|
No need to apologize. I'm glad you're helping out here. I just thought I'd share an easier way that also keeps full space for the text so you both could see another option. Keep up the good work.
__________________
--John Homepage • Popular JFriend's javascript customizations • Secrets for getting fast answers on Dgrin Always include a link to your site when posting a question |
|
|
|
|
#14
|
|
|
Major grins
|
Thanks Mr. Scripting dude-volunteer
|
|
|
|
|
#15
|
|
|
Beginner grinner
|
It works!
|
|
|
|
| Tell The World! | |
| Similar Threads | Thread Starter | Forum | Replies | Last Post | ![]() |
| Homepage problems with slideshow in Safari. | DulaMug | SmugMug Customization | 6 | Jul-15-2010 10:50 AM | |
| Please help with creating a center window | Weidotcom | SmugMug Customization | 9 | Oct-14-2009 07:06 PM | |
| Is this possible?? | Gadget_Girl | SmugMug Customization | 29 | Nov-11-2008 06:36 PM | |
| Google Maps in a specific gallery rather than the homepage | shrekie | SmugMug Customization | 0 | Mar-06-2008 06:20 PM | |
| Howto have a ss & the homepage gallery but on 2 different pages | Redskeeter | SmugMug Customization | 13 | Mar-12-2006 10:04 AM | |
| Thread Tools | |
| Display Modes | |
|
|