• Gear
  • Shots
  • Photo Craft
  • Video
  • Wide Angle
  • Support
  • New Stuff
  • More
Support SmugMug Customization Help creating new div container

FAQtoid

Ever wanted to create an Avatar? Creating an Avatar!

Searching Dgrin with Google Searching with Google

Dgrin Challenges

Congratulations to the Winner of DSS #130 (Hot or Cold), Memol..

The next Dgrin Challenge DSS #131 (Music) is open for entries through June 24th, 2013 at 8:00pm PDT.

As always, we look forward to your participation but please do take a moment to read through the rules before posting your entry.

Past DSS Challenge Winners, DSS Challenge Rules, and other important DSS Challenge information is here.

Need some help with Accessories?

Tutorials

Ever find yourself wondering just how someone managed to create an image using different effects?

Here are three simple tutorials we hope will encourage you to try something new.

The Hot Seat

A lifelong interest in landscape photography has led Eyal Oren to make a study of his adopted hometown of Marblehead, MA. As you can see, his dedication is paying off!

Africa!

Dgrinners Harryb, Pathfinder, and others joined Andy Williams and Marc Muench on Safari in East Africa recently. Here are some awesome threads to check out!

 
Thread Tools Display Modes
Old May-29-2012, 09:57 PM
#1
Alex_K is offline Alex_K OP
Major grins
Alex_K's Avatar
Help creating new div container
I have a semi-transparent header background which works great on my homepage (www.knoppermann.com) but it extends down to cover most of the page on some other pages such as:

www.knoppermann.com/featured and
www.knoppermann.com/galleries and
www.knoppermann.com/Travel etc.

I have been advised by smugmug support that

1. Apparently the semi-transparent wrapper is the #bodyWrapper div id, which is part of the SmugMug site structure, and that things are going wrong because by default the #bodyWrapper encapsulates every container on the page, which is why the semi-transparent wrapper is being forced down lower on those pages with more content.

2. Apparently the solution is to "create a specific div container for the transparent background, so that you can close it (</div>) at the end of the Custom Header."


The truth is, I really don't understand this at all!!!! Can somebody explain in plain English what I need to do to fix my problem?
__________________
www.knoppermann.com
Old May-30-2012, 01:19 PM
#2
Smug Eric is online now Smug Eric
Smug Hero
Smug Eric's Avatar
In your custom header add the code in red:

Code:
<div id="secret">
<a href="javascript:void(0)" onclick="window.location='https://secure.smugmug.com/login.mg?goTo='+window.location.href">.</a>
</div>
<div id="headerBox">
<div id="my_banner"><a href="http://knoppermann.com"><img src="/img/spacer.gif" width="468" height="46" border="0" /></a></div>
<div align="left">
Then at the end of your custom header box add this:

</div>

Then in your CSS, you have this:

.homepage #bodyWrapper {
background-image:none !important;
background:rgba(22, 22, 22, .40);
}

Change the #bodyWrapper to #headerBox
__________________
Eric
Support Hero and Customeister
http://www.smugmug.com/help
Old May-30-2012, 01:57 PM
#3
Alex_K is offline Alex_K OP
Major grins
Alex_K's Avatar
Thanks very much Eric!

I also removed the .homepage bit in the CSS so that it applied to every page. Works perfectly on every page except one:

http://www.knoppermann.com/find/

?

I love solutions! (even if I can't reach them myself).
__________________
www.knoppermann.com
Old May-30-2012, 02:02 PM
#4
Smug Eric is online now Smug Eric
Smug Hero
Smug Eric's Avatar
Ooh, didn't see that bit. The </div> you added to the end of your Custom Header box, move that to above your search box code. So right above this:

<div id="mySearch" class="box">
__________________
Eric
Support Hero and Customeister
http://www.smugmug.com/help
Old May-30-2012, 02:05 PM
#5
Alex_K is offline Alex_K OP
Major grins
Alex_K's Avatar
Quote:
Originally Posted by Smug Eric View Post
Ooh, didn't see that bit. The </div> you added to the end of your Custom Header box, move that to above your search box code. So right above this:

<div id="mySearch" class="box">
Cheers! Happy happy happy! And it's only 8am!
__________________
www.knoppermann.com
Tell The World!  
Similar Threads Thread Starter Forum Replies Last Post
Need help creating a container CynthiaM SmugMug Customization 0 Dec-14-2009 09:02 AM
Removing container top and bottom container bars? ducksquat SmugMug Customization 0 Nov-19-2009 11:57 AM
Creating and Using Actions in Photoshop GREAPER Technique 2 Jul-10-2006 05:51 PM
Cobranding and Customization FAQ Mike Lane SmugMug Customization 1 Sep-07-2005 11:05 AM


Thread Tools
Display Modes

Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump