|
|
Thread Tools | Display Modes |
|
#1
|
|
|
Big grins
|
Hi all
I am trying to refine my smugmug site and have today decided to change from the Sand theme to the White theme. After doing that, I noticed that the border along the top does not complete as one would expect. On the Sand theme it worked fine?? Please have a look in my homepage HERE to see what I mean. I have gone through my CSS code and cannot find anything that could be causing this?My 2nd question is regarding the Navbar. At the moment my one is very basic and plain looking. What suggestions and corresponding code can you recommend I apply to it to make it look more professional and refined? Lastly, and only if you have time, could you plz scan through my code which appears under Site Custom Configuration to determine if everything there is in fact correct and put together correctly? What I mean is, I don't want code there that is not doing anything and that is just slowing down the loading time. If any code has updated to be more streamlined, kindly let me know so that I can update it accordingly. (Just note that my ability in this is copy and paste). I look forward to your assistance. As always, it is a pleasure dealing with all you helpful folks. _______________ Charles South Africa |
|
|
|
|
#2
|
||
|
"tweak 'til it squeaks"
|
Quote:
Code:
<div id="myHeader"> <div id="myHeaderTop"> </div> <div id="my_banner"> </div> <div id="navcontainer"> <ul> <li><a href="/">Home</a></li> <li><a href="/gallery/6863492_DuC4Q">Service Options</a></li> <li><a href="http://www.active-exposure.co.za/Portfolio">Portfolio</a></li> <li><a href="/gallery/6863515_5Sptx">Contact</a></li> </ul> </div> <!-- closed navcontainer --> </div> <!-- closed myHeader --> Code:
#myHeader {background: url(http://cdn.smugmug.com/img/themes/White/small_center.jpg) transparent repeat-y;
height:210px;
}
#myHeaderTop {background: url(http://cdn.smugmug.com/img/themes/White/small_header.jpg) transparent no-repeat;
height:30px;
}
.smugmug #myHeaderTop,
.smugmug #myHeader {display:none;}
for any gallery the CSS might need to be tweaked.
__________________
Al My Website my Blog Mozilla Firefox Web Developer Firebug Customization FAQ Banner/Navbar/Slideshow Tutor |
|
|
|
||
|
#3
|
||||
|
Major grins
|
Quote:
Add this to the BOTTOM of your custom header box: Code:
<div id="myPageTop"></div> Code:
#myPageTop
{width:950px;
height:30px;
margin:0 auto;
background:transparent
url(http://cdn.smugmug.com/img/themes/White/small_header.jpg) no-repeat scroll 0 0;}
#myPageTop
{display:none}
.homepage #myPageTop
{display:block}
Quote:
#navcontainer ul li a { text-decoration: none; padding: .2em 4.2em; color: #FFFFFF; background-color: #000000; border: 3px ridge red; font-size: 108%; font-weight: bold; } Quote:
|
|||
|
|
||||
|
#4
|
|
|
Big grins
|
Thank you so much Al and Joe. Your help is tremendously & sincerely appreciated.
I have applied the code to achieve the required results. The only place where the border is still a problem is for my "unlisted" galleries where I embed a Virtual Tour viewer. An example can be viewed here. For these type of galleries I do not use my header/logo as I just want the embedded viewer displayed. Where and what code can I insert to customize these type of galleries as I create them? Thanks again gentlemen. |
|
|
|
|
#5
|
||
|
"tweak 'til it squeaks"
|
Quote:
Code:
.gallery_7406030 #breadcrumb,
.gallery_7406030 #myHeader,
.gallery_7406030 #myHeaderTop,
.smugmug #myHeaderTop,
.smugmug #myHeader {display:none;}
.gallery_7406030 #footer,
.gallery_7406030 #bodyWrapper,
.gallery_7406030 #journal
{background: none !important;}
__________________
Al My Website my Blog Mozilla Firefox Web Developer Firebug Customization FAQ Banner/Navbar/Slideshow Tutor |
|
|
|
||
|
#6
|
||
|
Big grins
|
Quote:
Thanks Al... that did it perfectly! I am sure I say this on behalf of hundreds of others.... THANK YOU so much. Without help like yours we would be completely lost |
|
|
|
||
| Tell The World! | |
| Thread Tools | |
| Display Modes | |
|
|