• Gear
  • Shots
  • Photo Craft
  • Video
  • Wide Angle
  • Support
  • New Stuff
  • More
Support SmugMug Customization Banner Link to Galleries Fix

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 Aug-10-2012, 08:15 AM
#1
SuperCleary is offline SuperCleary OP
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:progidXImageTransform.Microsoft.AlphaIma geLoader(enabled=true,sizingmethod=image,src='http ://superclearyphoto.smugmug.com/photos/i-vT3cNNj/0/L/i-vT3cNNj-O.png');
}
Old Aug-10-2012, 08:23 AM
#2
jhofker is offline jhofker
Major grins
jhofker's Avatar
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
Old Aug-10-2012, 09:33 AM
#3
SuperCleary is offline SuperCleary OP
Big grins
THANK YOU wise smugmug guru
Old Aug-10-2012, 10:13 AM
#4
jhofker is offline jhofker
Major grins
jhofker's Avatar
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
Old Aug-10-2012, 10:36 AM
#5
SuperCleary is offline SuperCleary OP
Big grins
Quote:
Originally Posted by jhofker View Post
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; }
Thanks! If I want to switch from text based navbar buttons to image navbar buttons what would I have to switch around?
Old Aug-10-2012, 10:52 AM
#6
SuperCleary is offline SuperCleary OP
Big grins
Quote:
Originally Posted by SuperCleary View Post
Thanks! If I want to switch from text based navbar buttons to image navbar buttons what would I have to switch around?
Whoops.... and now I've made a mess of it. I just dumped the img src into the text instead. The size/format is totally out of whack now.


/* 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 */
Old Aug-10-2012, 01:41 PM
#7
SuperCleary is offline SuperCleary OP
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

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