Primary Navigation
CSS - Adding An Image To Your Community Title
CSS Image Replacement
Follow the steps below to change your community logo. This technique creates a a visible window based on the dimensions of our image.
Requirements
Dimensions of your image (height & width)
How it works
The technique defines a display area and inserts a background image while hiding the display text. By hiding the text instead of removing it you get the advantage of displaying and image without affecting SEO.
Intsructions
- Upload your logo image to your community image gallery
- Get the "Image Path" Copy the image download link (i.e. Firefox - right click > Copy Link Location)
- Copy (ctrl-c) and paste (ctrl-v) the CSS code into the bottom of your community Advanced Theme Editor.
- Example Path: http://www.igloosoftware.com/download/gallery/img/theme/logopng?attachment=1
- Paste the Image Path into the CSS code and replace "image_path_here" "
- Set the image height by updating the property padding-top
- Set the image width
- Click Publish
Copy the CSS Snippet below
#logo{ margin: 10px; }
#logo a {
background: url(image_path_here) no-repeat;
display: block;
height: 0 !important; /* Do NOT change the height - use padding-top as your height */
overflow: hidden;
padding-top: 20px; /* This is the height of your image */
width:100px;
}
- 479 views
- 11 versions
- 0 comments
- 0 followers
- Post Date:
- December 6, 2011
- Posted By:
- IGLOO Webmaster
- Versions:
- v.11
Related Articles
Page Options
0 Comments
Would you like to comment?
You must be a member. Sign In if you are already a member.