Logo problem

Logo problem

Tareque Chowdhury -
回帖数:10

Hi

I already put my logo on my moodle front page. But I want to put the login information (You are logged in as Tareque Chowdhury (Logout)) on top of my logo. Now it is on the right hand corner. I do not know how. Please help me

Thanks

Tareque

回复Tareque Chowdhury

Re: Logo problem

Chardelle Busch -
Core developers的头像
Hi Tareque,

If you open your header.html file in an html editor you will see the code for this: <?php echo $menu ?>  You can move it to anywhere but you might need to put everything into tables to do it.  Here is an example file to get you started, if you look at this page in design view, you will see that this code is in the right column  aligned to the right and the bottom in the top table which is the one that shows on your homepage.  You could move it anywhere and you can also change your table cell alignment.
回复Chardelle Busch

Re: Logo problem

Tareque Chowdhury -

Hi Chardelle

Thanks for your reply. I am using Moddle 1.4. I want to put my logo and Login button together. Please see this web site as a example

http://www.bucksgfl.org.uk/resources/

On this web site you can see they used their logo and Login button together.

Thanks

Tareque

回复Tareque Chowdhury

Re: Logo problem

Chardelle Busch -
Core developers的头像
It looks like in that site they have just added a link to their Login page next to their logo, rather than adding the login php code.  You can do that also.  Either way, if you put your header into tables, like the example I posted, you can add your images, links/button code, etc. into cells which makes it easier to place them wherever you want.  You could even add an image as the cell background, and then the login button would show up on top of it. 

Good luck.
回复Chardelle Busch

Re: Logo problem

Tareque Chowdhury -

Hi Chardelle

Thanks for your e-mail. I do not know how can I add an image as the cell baclground. Could you please help me. I know I need to edit header.html file, but I do not know where I need to add an image for the background.

Thanks

Tareque

回复Tareque Chowdhury

Re: Logo problem

Chardelle Busch -
Core developers的头像
Probably it is easiest to make changes to your header.html file in an html editor program like Front Page or Dreamweaver.  Then, when you add an image as background of a cell in a table (like the tables in the example html file I posted above), you will be adding html code that looks like this:  background="/theme/the name of your theme folder/yourlogo.jpg"

Then you would put your logo image in your theme folder.
回复Chardelle Busch

Re: Logo problem

iolasus raj -

hi chardelle...

i'm trying to edit my header as well.. i tried editing the fw_color.css file under the formal_white these using PLESK.. but nothing seems to work.. i want to change the color of all the header, eg: login, menu, calender...

r u suggesting to open the fw_color.css file in dreamweaver and edited it? i dont quite understand the process... tia...

回复iolasus raj

Re: Logo problem

Chardelle Busch -
Core developers的头像
Hello iolasus,

That should work. I mentioned dreamweaver as the program I use for making a new header.html file.  For stylesheets, PLESK should work.  For example, you can change any of the color codes like the sideblock header to a different color, then be sure to reload the new stylesheet changes in your browser (I always use ctrl-shft-refresh) and you should see the new color on your page.

See more about themes here
回复Chardelle Busch

Re: Logo problem

iolasus raj -

hi chardelle...

i've managed to make changes for the header.. but i cant seem to change the colors of the sideblocks...

i tried using both dreamweaver and PLESK but i dont see any changes.. i read the link u provided.. do i need to make some changes to the config.php file?

thanks...

回复iolasus raj

Re: Logo problem

Chardelle Busch -
Core developers的头像
No, you only need to make the changes to your color.css file in your theme folder.  If you don't see the changes, it is probably because your browser has cached the original css.  Be sure to do a hard refresh like I mentioned above.
回复Chardelle Busch

Re: Logo problem

iolasus raj -

thanks chardelle.. managed to do it.. i tried using the 'hard referesh' like u suggested but nothing worked.. i tried again but this time i hard refreshed the PLESK page after editing the fw_color.css file and it worked instantly... thanks again...