Positioning the Site Logo

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
4/29/2009 11:24:13 AM
amc
Gravatar
Total Posts 4

Positioning the Site Logo

I have added the Site Logo option to my skin using the instructions in this post http://www.mojoportal.com/whereisthesitelogo.aspx . The logo now appears on the site in the top left corner . Can anyone tell me how to adjust its position.

 

4/29/2009 3:23:31 PM
Gravatar
Total Posts 2183

Re: Positioning the Site Logo

I think you need to put the <portal:SiteLogo id="SiteLogo" runat="server"></portal:SiteLogo> code in the location you want the logo to appear on the page.

4/29/2009 3:52:41 PM
Gravatar
Total Posts 18439

Re: Positioning the Site Logo

Also you can view the source of the page and see the css class either on the image or its container and you can position using css margin, padding, or even absolute positioning, but you have to have knowledge of css.

Hope it helps,

Joe 

4/30/2009 11:10:28 AM
amc
Gravatar
Total Posts 4

Re: Positioning the Site Logo

Thanks guys.

Most skins seem to already have .sitelogo class in stylelayout.css which made it easy for me with my very basic knowledge of CSS.

Andy

5/1/2009 6:18:28 AM
amc
Gravatar
Total Posts 4

Re: Positioning the Site Logo

This may be of help to others wanting to use transparent PNG images. There is a 'feature' in IE versions 5.5 and 6 that fails to support alpha-channel transparency for PNG images. In these versions of IE, every pixel containing alpha-transparency is displayed with an ugly, flat gray color.

I used a fix released by Angus Turnbull - http://www.twinhelix.com/css/iepngfix/demo/ to solve the problem.

1. Copy and paste iepngfix.htc and blank.gif into the ClientScript folder

2. Edit iepngfix.htc and change "var blankImg = 'blank.gif'" to "var blankImg = '/clientscript/blank.gif'"

3. Add "img, div { behavior: url(/clientscript/iepngfix.htc) }" to the IESpecific.css file in the Skin folder.

PNG images are then displayed corectly.

5/1/2009 7:35:38 AM
Gravatar
Total Posts 18439

Re: Positioning the Site Logo

Thats a good tip! I may do that in all the included skins.

Best,

Joe 

You must sign in to post in the forums. This thread is closed to new posts.