|
|
Thread Tools | Display Modes |
|
#1
|
|
|
Big grins
|
Box Sizing
On my Gallery page, I just added a background image, and a black box behind the thumbnails.
I would like to resize the black box to be the same width as my header and navbar at 980px. Also, I would like the black box to touch the bottom of my navbar and go down just below the SmugMug footer. Is this possible? Thanks, Stacie Oh, and one more thing, how do I hide the background image on specific galleries? Last edited by 4EverPhotography; Jun-03-2009 at 01:37 PM. |
|
|
|
|
#2
|
||
|
Big grins
|
Quote:
|
|
|
|
||
|
#3
|
|
|
Major grins
|
First, your missing a closing brace here:
Code:
a:active {
color:#ffffff;}
#caption_top {
display: block;
}
Then, you could add this to your css to remove the black box: Code:
/*====No More Background====*/
.boxBottom,
.boxTop,
.box
{background:none !important;}
|
|
|
|
|
#4
|
|
|
Major grins
|
Looks like I read your question wrong....add this to your CSS, and see if its what you want:
Code:
/*=====Wide Gallery Thumbs=====*/
.galleries #homepage,
#content.userKeywords,
#header_wrapper, #footer_wrapper, #cobrand_footer,
#category, #subcategory, #header,
#smugmug, .smugmug #header, .smugmug #footer
{margin-left: 15px;
margin-right: 15px;
min-width: 755px;
width: auto;
_width: expression
(document.documentElement.clientWidth < 790? "760px" : "auto");}
|
|
|
|
|
#5
|
||
|
Big grins
|
Quote:
Also, do you know how to remove the background image in specific galleries? |
|
|
|
||
|
#6
|
|||
|
Major grins
|
Quote:
Try this: Code:
#galleriesBox
{position:relative;
bottom:60px}
Quote:
Something like this should work, just change the 'XXXXXX' to your gallery number: Code:
.gallery_XXXXXX
{background-image: none !important;}
|
||
|
|
|||
|
#7
|
|
|
Big grins
|
[quote=J Allen]Try this:
Code:
#galleriesBox
{position:relative;
bottom:60px}
This code works perfectly in Firefox, but it made the black box overlap the navbar in IE. Is there a way to fix it in IE? |
|
|
|
|
#8
|
||
|
Big grins
|
[quote=4EverPhotography]
Quote:
If the navbar was forced to be on top of all of the other page elements, (like bringing a layer to the top in Photoshop) shouldn't that fix the overlap problem with IE? What code do I need to add? |
|
|
|
||
|
#9
|
|
|
Major grins
|
Try adding this, and see if IE will play nice:
Code:
#navcontainer
{z-index:99;}
|
|
|
|
|
#10
|
||
|
Big grins
|
Quote:
|
|
|
|
||
|
#11
|
||
|
Scripting dude-volunteer
|
Quote:
Here's my suggestion: Get rid of these: #navcontainer {z-index:99;} #galleriesBox {position:relative; bottom:60px} Then, add this: #category {padding-top:0;} #category #breadcrumb {display:none;} #category .boxTop {display:none;} #category #galleriesBox {padding-top:20px;} Adjust the number in red to your liking. This removes a little padding from the top of the category object that was causing a gap. It gets rid of the breadcrumb object which was causing most of the gap. It gets rid of the boxtop object which was causing the rest of the gap. It puts a little spacing back in the galleriesBox so the thumbs aren't too close.
__________________
--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 Last edited by jfriend; Jun-05-2009 at 10:05 AM. |
|
|
|
||
|
#12
|
||
|
Big grins
|
Quote:
Thank you!!! It worked perfectly!
|
|
|
|
||
| Tell The World! | |
| Thread Tools | |
| Display Modes | |
|
|