Archive for August, 2005

Green borders

Tuesday, August 23rd, 2005

To change the borders for the images; use this code in your style section:

.imgBorderOn {
border-color: red;
}

If you want to change what the default border color is; use this:

.imgBorder {
border-color: blue;
}

Changing the homepage link

Tuesday, August 23rd, 2005

Some of you have figured out that you can change the smugmug logo in the top left to something that suits your site.
But did you know that with some javascript you can also change what the image is linked to:

onload = changeHomelink;
function changeHomelink () {
document.getElementById(’homelink’).href = ‘http://www.dgrin.com’;
}

Styling individual pages

Thursday, August 18th, 2005

With the release of the last of the gallery templates, I want to share with you some new functionality that you can use. You can now target your style to individual templates and/or specific galleries.
To make the green text red for only the journal pages on your site you could use:

.journal .title {
[...]

Changing the green

Wednesday, August 17th, 2005

So most everything that you see on your page that is green can be changed like this:

a.title, .title, .imgBorderOn {
color: red;
}

Removing play slideshow button

Wednesday, August 17th, 2005

We have enabled this for everyone; use this to get rid of it:

.play_slideshow {
display: none;
}

Removing keywords

Wednesday, August 17th, 2005

Here is the code to get rid of keywords on your page:

#keywords {
display: none;
}

Removing dashed lines

Tuesday, August 16th, 2005

I personally like the borders, I think they add a sense of organization to a very busy (yet informative) interface. But here is the code to get rid of them, cut and paste it in your CSS section of customize.
This will turn the horizontals off:

.top_border, .bottom_border {
border: 0px;
}

This will get [...]