|
|
Thread Tools | Display Modes |
|
#1
|
|
|
Big grins
|
Banner Link to Galleries Fix
Hey guys -
I put in a custom graphic banner and then followed the tutorial to make it link to my galleries page. For some reason once I added the code to turn the banner into a link, it made it extremely buggy. It would load slow sometimes, or in the wrong position, or just not load at all! What's the code I should add to my CSS to get the "superclearyphoto" image to link to my galleries page? Here's where I want it to link to: http://superclearyphoto.smugmug.com/galleries To fix stability I've pulled all the additional code out, so the image currently does not link. Thanks! =================== #my_banner { width: 220px; height: 25px; margin: 15px 0 0 20px; /* top R bottom L */ background: url(http://superclearyphoto.smugmug.com/...-vT3cNNj-O.png) no-repeat; _background: none; _filter:progid } |
|
|
|
|
#2
|
|
|
Major grins
|
Change that chunk of CSS to:
Code:
#my_banner {
width: 220px;
height: 25px;
margin: 15px 0 0 20px; /* top R bottom L */
}
Change your HTML to: Code:
<div id="my_banner">
<a href="http://superclearyphoto.smugmug.com/galleries">
<img src="http://superclearyphoto.smugmug.com/photos/i-vT3cNNj/0/L/i-vT3cNNj-O.png" />
</a>
</div>
__________________
Photos |
|
|
|
|
#3
|
|
|
Big grins
|
THANK YOU wise smugmug guru
|
|
|
|
|
#4
|
|
|
Major grins
|
If you want to get rid of the outline that it has now, you can add this to your CSS:
Code:
#my_banner img { border: none; }
__________________
Photos |
|
|
|
|
#5
|
|
|
Big grins
|
|
|
|
|
|
#6
|
||
|
Big grins
|
Quote:
/* navbar start */ #navcontainer ul { margin: 15px 0 0 20px; padding: 0; list-style-type: none; text-align: right; } #navcontainer { float: right; margin: 15px 0 20px auto; /* top R bottom L */ } #navcontainer ul li { display: inline; } #navcontainer ul li a { font-family: Arial; background-color: #000000; font-weight: bold; color: #ffffff; text-decoration: none; word-spacing: normal; text-align: right; letter-spacing: 0; line-height: 1.5em; font-size: 1.3em; padding: .2em 1em; ; } #navcontainer ul li a:hover { color: #fff; background-color: #404040; } /* navbar end */ |
|
|
|
||
|
#7
|
|
|
Big grins
|
Cancel that, figured out another way of going about it
|
|
|
|
| Tell The World! | |
| Similar Threads | Thread Starter | Forum | Replies | Last Post | ![]() |
| Link to galleries help. | Chris Ocean | SmugMug Customization | 2 | Apr-28-2012 08:44 PM | |
| Two Galleries in One Link? | Momas | SmugMug Support | 6 | Aug-07-2011 07:17 PM | |
| Logo help and Client Galleries link | JenSkoog | SmugMug Customization | 1 | Nov-01-2009 03:13 PM | |
| Banner in galleries inside a gallery | babelphotos | SmugMug Customization | 17 | Jul-31-2007 04:52 AM | |
| Featured galleries Link in NavBar | energykick | SmugMug Customization | 3 | May-12-2007 08:07 AM | |
| Thread Tools | |
| Display Modes | |
|
|