I need code to add a shadow to ...
brandofamily
Registered Users Posts: 2,013 Major grins
I need code to add a shadow to my left sidebar...
I know how to do a shadow, but I cannot figure out how to target the sidebar...:dunno
I can make the adjustment in firebug, but the yui div is one of those numbered ones that changes every page load.
I know how to do a shadow, but I cannot figure out how to target the sidebar...:dunno
I can make the adjustment in firebug, but the yui div is one of those numbered ones that changes every page load.
0
Comments
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
No idea how you figured it out, but THANKS!!! Worked perfectly.
I just used the Firebug tool from Firefox.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
I assume you added the actual 'box-shadow' code. I didn't add that. If you did, I know you didn't unveil your site yet, so I can't help you.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Hikin, this is the code I put in:
What do you mean you didn't add it?
Because Anthony knew the code for the drop-shadow, I only gave him the code to target the sidebar, not the actual 'box-shadow' code.
Try this:
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
I tried the firebug tool, but I guess I need to know the correct punctuation.
Ohhh, so nice. Can I ask how to put drop-shadows on all four sides of the block?
It apparently only looks as nice as brando's does, if the entire site layout is not centered. Center "off" makes the left sidebar stick like glue to the left boundary of the browser.
Center "on", which I have, causes a section of the background left of the left sidebar, to show. Kind of ugly.
But it's a shadow... where's the light source causing the shadow... to the left of course...:D
Go live damn it so I can see this stuff you're doing!
http://www.w3schools.com/cssref/css3_pr_box-shadow.asp
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Thank you! And I played on the W3Schools site also, and modified the code.
Aww, thanks but you know me, I'm on the outer fringe of Smugmug's real customer base. I'm in lah-lah land, not a photographer, no graphic sense, no design sense, can barely code. If SmugMug had an award for most weird subscriber, I might win because of my critter content.
Anyway I can't unveil until I fix several critical pages with HTML, and they are taking most of my time. This formatting play stuff I'm doing is only 5% of my effort at the moment.
Slight problem. Now there is a vertical grey bar on all folder and gallery pages. I think this must be this code, and it's a bar only because there's no leftbar to wrap around? I had added the code to the theme main CSS code. Was I supposed to do differently? Example image.
Ya. Seeing as I only have the bar on my homepage I'm sure the code was not made specific to the homepage... I'm sure it could be, but you solved the issue...