Go Back   Pligg CMS Forum > Pligg Help > Customization Assistance

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-03-2008, 02:58 PM
New Pligger
 
Join Date: Sep 2008
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
[SOLVED] Move logo from right to left.

Hello

I have modified the header a bit to give space for the logo. The problem I got though is that the logo is placed at the right side. How can I place the logo to the left side?

Here is the image link I put in the header.tpl:

Code:
<a href="{$my_base_url}{$my_pligg_base}" ><img src="{$my_pligg_base}/templates/{$the_template}/images/logo.png" width="234" height="79" style="position: absolute; top: 0; padding-left: 0px; " ></a>
and here is the main.css code:

Code:
#header {margin:0px 0px 10px 0px; padding-left: 0px; padding-top: 75px; }
Can I just change the image link somehow to fix this or do I have to add something in the main.css code?


Here's a link to the site: CS-Tube.com - Resources / Published News

Thanks alot!
Reply With Quote
  #2 (permalink)  
Old 09-03-2008, 04:57 PM
Yankidank's Avatar
Coder/Designer
Pligg Version: SVN
Pligg Template: Wistie
 
Join Date: Dec 2005
Location: Ocala, FL
Posts: 1,832
Thanks: 110
Thanked 183 Times in 129 Posts
Send a message via AIM to Yankidank Send a message via Skype™ to Yankidank
Since it's all the way at the top you might be able to add the css float:left; . That might toss it outside of the wrapper though and not keep it within the normal width.

I can think of alot of solutions for this one. I would remove the styling from the first bit of code and deal with all the styling from the css file.
__________________
Need a Pligg Host?
Get 3 free months
when you buy a year of hosting.
Use the coupon PLIGG at either...
MidPhase hosting starting at $7.95/month.
ANhosting hosting starting as low as $4.95/month.
Reply With Quote
  #3 (permalink)  
Old 09-03-2008, 05:41 PM
New Pligger
 
Join Date: Sep 2008
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
Quote:
Originally Posted by Yankidank View Post
Since it's all the way at the top you might be able to add the css float:left; . That might toss it outside of the wrapper though and not keep it within the normal width.

I can think of alot of solutions for this one. I would remove the styling from the first bit of code and deal with all the styling from the css file.
Hello Yankidank

Thanks for the reply.

I am not sure about the structure of the css or the link image code that needs. I tried a little without getting it working. Would appreciate if you or someone else could give me a example code of both the css and the image link that can maybe work.

Thanks
Reply With Quote
  #4 (permalink)  
Old 09-03-2008, 06:53 PM
Constant Pligger
 
Join Date: Feb 2007
Posts: 183
Thanks: 13
Thanked 24 Times in 19 Posts
Take the logo out of the < ul class="search2" >-tag in header.tpl. Place the img-tag above the ul-tag.

And if you want to use that position: absolute in the img change it to look something like this:
Code:
style="position: absolute;left: 0;top: 0; ...
Reply With Quote
  #5 (permalink)  
Old 09-04-2008, 03:50 AM
New Pligger
 
Join Date: Sep 2008
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
Quote:
Originally Posted by Andtony View Post
Take the logo out of the < ul class="search2" >-tag in header.tpl. Place the img-tag above the ul-tag.

And if you want to use that position: absolute in the img change it to look something like this:
Code:
style="position: absolute;left: 0;top: 0; ...

Thanks Andtony

Now I got it placed at the left side :)
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 Off
[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
[SOLVED] Having some problems with logo... Elephant789 General Help 2 08-17-2007 04:21 AM
[SOLVED] How to make the logo bigger... Elephant789 General Help 6 08-16-2007 06:33 AM
[SOLVED] Can I move the sidebar to the left side? AshMCairo General Help 3 08-09-2007 04:06 PM
[SOLVED] Server move - Issues RyanH General Help 10 08-02-2007 07:14 AM
How To: Move the sidebar from rt to left? noyp Template Support 5 10-18-2006 12:45 AM


Search Engine Friendly URLs by vBSEO 3.2.0