Go Back   Pligg CMS Forum > Pligg Development > Pligg Templates > Template Support > Old Templates > "Mollio-Beat"

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-13-2007, 12:26 PM
New Pligger
 
Join Date: Mar 2007
Location: Belgium
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
How to add a logo correctly ?

Hi,

I have tried to add a logo to my site.
In IE7 there is no problem the menu is just below the logo. It's perfect, but in Firefox the logo is not properly put up and the menu is not aligned.

Thank you for your help.

Last edited by euspirit; 03-20-2007 at 02:48 PM..
Reply With Quote
  #2 (permalink)  
Old 03-13-2007, 12:58 PM
kbeeveer46's Avatar
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,547
Thanks: 254
Thanked 649 Times in 513 Posts
The only thing that we can tell you is that you'll have to mess around with your logo in header.tpl. It's a pain in the butt to get things to work in IE and FF, we know.
__________________
I accept donations for my time helping users like you on the forum and IRC.
Reply With Quote
  #3 (permalink)  
Old 03-13-2007, 03:10 PM
Casual Pligger
 
Join Date: Feb 2007
Location: England
Posts: 45
Thanks: 7
Thanked 18 Times in 12 Posts
It's simpler to position a logo in the CSS file using the 'background' variable than hard coding it into the header.tpl file.

It's best to get acquainted with CSS hacks too, otherwise you'll find it's a total nightmare designing a cross-browser compatible website.

You can use three separate CSS files (one for IE6 and below, one for IE7, and one for proper browsers - Firefox, Opera, Safari, Camino, Mozilla etc.) and include conditional comments in the meta.tpl, e.g. use this code and IE6 users will use an IE6 CSS file:

Code:
<!--[if lte IE 6]>
<link rel="stylesheet" type="text/css" href="ie6andearlier.css" />
<![endif]-->
A pain, I know, but I'm afraid CSS hacks/conditional comments etc. are part and parcel of contemporary web design.
Reply With Quote
  #4 (permalink)  
Old 03-13-2007, 09:17 PM
beatniak's Avatar
Pligg Donor
 
Join Date: Apr 2006
Location: NL - 52.100863;5.108356
Posts: 310
Thanks: 14
Thanked 77 Times in 48 Posts
First, make sure that this part in your header:
Quote:
<div id="site-name"><a href="http://www.bepol.be">You site name</a></div>
After that, just like i said in another post (i'll repeat...):

Aaargh!!!! I created some stuff in Mollio Beat with a reason. I will explain the logo stuff:

Quote:
#header #site-name a, #header #site-name a:hover {
display:block;
height:160px;
width:270px;
background:url("../images/logo.png") no-repeat top left;
text-indent:-2000em;
position:absolute;
top:0px;left:0px;
text-decoration:none;z-index:1;
}
just dont forget that the text should be offscreen, and be replaced by your logo image ON-screen with the use of CSS. text-indent:-2000em; makes the text non visable on the screen.

Why???
In text browsers (for the blind / mobile / GOOGLE!!!! / etc) you won't see the pictures, but you can see the text. So your sitename (text) should be on top of the page! In normal browsers you should see the logo, not the text.

So you should do my switch trick...
textbrowsers = sitename in text
normal browsers = sitename in logo (image)

Why???
Searchengines love your sitename on top of the page and in your title. Blind people NEED that so they know on what page they are. And my rule is always: if the blind understand your page, the searchengines do so too!!! And also much better for pda's and mobile. But people who are no search engine (or who are not blind) should see your nice and shiny butt-kicking logo!

-----

On another note: you should have higher values for "height" in:
* html #content-wrap 1,2,3
and in
#content-wrap 1,2,3
for a better footer placement
__________________
Like my work? Donations are welcome if you would like to support my work!
Finger pliggin' good sites of mine: receptencocktail.nl / numarketing.nl / goboz.com

Last edited by beatniak; 03-13-2007 at 09:23 PM..
Reply With Quote
  #5 (permalink)  
Old 03-14-2007, 05:00 AM
New Pligger
 
Join Date: Mar 2007
Location: Belgium
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Thank very much for your answers !

I still have a problem (I'm a newbie )).
I add the codein main.css but the menu nav is not under the logo.
Code:
/* LAYOUT - HEADER ---------------------------------------------------------------------------------------------------------------------------*/
#header {background:#666 url("../images/sprites.gif") repeat-x 0 100%;margin:0 0 25px;padding:0 0 8px;width:100%; position:relative;} 
#header #site-name a, #header #site-name a:hover {
display:block;
height:160px;
width:270px;
background:url("../images/logo.png") no-repeat top left;
text-indent:-2000em;
position:absolute;
top:0px;left:0px;
text-decoration:none;z-index:1;
}
thank you for your help

Last edited by euspirit; 03-14-2007 at 09:36 AM..
Reply With Quote
  #6 (permalink)  
Old 03-16-2007, 05:42 AM
New Pligger
 
Join Date: Mar 2007
Location: Belgium
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Can somebody help me ?

Thanks
Reply With Quote
  #7 (permalink)  
Old 03-16-2007, 07:13 AM
Casual Pligger
 
Join Date: Feb 2007
Location: England
Posts: 45
Thanks: 7
Thanked 18 Times in 12 Posts
Remove these lines and it should work:

Code:
position:absolute;
top:0px;left:0px;
Reply With Quote
  #8 (permalink)  
Old 11-25-2007, 04:42 PM
New Pligger
Pligg Version: 9.8.2
Pligg Template: Elite Template
 
Join Date: Nov 2007
Location: New York
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Angry problem setting up logo

I am having same problem. I can't get it right. is there any doc shows this step by step.

By the way, i can't believe Pligg team thought no one will add logo and site name. and they didn't provide this funtionality out of box.

why not add these things in configure mod so newbie(s) like me don't have any problem to setup basic things.

well, it's free ware world!
Reply With Quote
  #9 (permalink)  
Old 12-19-2007, 04:07 PM
New Pligger
Pligg Version: 9.9
Pligg Template: Custom
 
Join Date: Dec 2007
Posts: 21
Thanks: 4
Thanked 0 Times in 0 Posts
Talking This is how I did it...

1. go back to your admin page and into the template editor and open the pligg.tpl file from the drop-down menu.

2. copy all the content into dreamweaver (or your prefered HTML editing software), make sure you paste it into a blank document, no tags, and you are pasting it into the code not the page's body

3. switch into design view and add you logo just like any HTML page, obviously placing your image in your templates /images directory

4. now you have to replace the path to your file with the following line corresponding to the file you want to add to the template:

"{$my_pligg_base}/templates/{$the_template}/images/logo.png"

5. finally go back into you admin and to the template editor and replace EVERYTHING INTO PLIGG.TPL with that thing you did wit your logo, all of it from begining to end so it would work.


also you can add a link to you image to your pligg site, but that is entirely up to you. luck

Last edited by m1gu3; 12-19-2007 at 04:21 PM..
Reply With Quote
Reply

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
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking to hire Logo maker for small logo. konvictcollin Customization Assistance 1 09-12-2008 07:03 PM
What is wrong with this logo Lostshootingstar Off-topic 1 09-06-2008 07:16 PM
[SOLVED] Move logo from right to left. FelixJ Customization Assistance 4 09-04-2008 03:50 AM
logo and sidebar in DN. alexzgz "Digital Nature" 1 11-30-2007 12:48 PM
Logo install thanatos Installation and Upgrade Help 1 08-09-2007 03:14 AM


Search Engine Friendly URLs by vBSEO 3.2.0