Code monkey help required

Talk about anything.

Moderators: Bearbonesnorm, Taylor, Chew

Post Reply
The Boss
Site Admin
Posts: 104
Joined: Thu Jun 02, 2011 1:16 pm
Location: a long way from most places

Code monkey help required

Post by The Boss »

Without my knowledge, s8tannorm turned on private messaging, which has resulted in a clash with the header design. I thought a swift change to the png and upload to replace the existing one would solve the problem ... oh no! The forum software goes awol and I'm left not knowing how to solve the problem. As you can see, I've put the original png back.

Any sensible suggestions please :?:

Dee
touch
Posts: 284
Joined: Thu Jan 26, 2012 2:11 pm
Location: Highlands

Re: Code monkey help required

Post by touch »

Find this line in the HTML:

Code: Select all

<img width="400" height="120" src="./styles/AZ_Retro/imageset/logo.png" alt="" title="">
It's in the "site-description" div.
Have a play about with the height value. (170 looks like a good size to me)
The Boss
Site Admin
Posts: 104
Joined: Thu Jun 02, 2011 1:16 pm
Location: a long way from most places

Re: Code monkey help required

Post by The Boss »

Many thanks touch for the reply, sorry if I am being awkward, I don't want to change the size, I want to change the design. I want to swap the welcome text with the logo (they're on the same png). When I replace the png file on the server and go to the forum, it comes up with a PHP error message instead of the forum. I do stuff like this all the time and it always works, it's the first time I've tried it with a forum though. :?

Dee
PS logo.png isn't the file in question, it's header_bg.png
touch
Posts: 284
Joined: Thu Jan 26, 2012 2:11 pm
Location: Highlands

Re: Code monkey help required

Post by touch »

Oh, sorry, i misunderstood your post.
If you have the .png named the same and saved in the same location, i can't think why it wouldnt work.

You could make the changes i suggested in the meantime if you want a quick fix to stop the text overlapping the logo until you figure out how to get the new logo working. It's not the bearbones logo that is being resized (as you correctly pointed out), the bearbones logo is a background image (which is why the text can overlap) and it has an invisible image on top of it called "logo.png". If you make the invisible image a little taller, it pushes the rest of the text further down the page and stops it overlapping, it will look something like this.
The Boss
Site Admin
Posts: 104
Joined: Thu Jun 02, 2011 1:16 pm
Location: a long way from most places

Re: Code monkey help required

Post by The Boss »

No need to be sorry, html/php etc is all foreign to me, I deal in colours and shapes so my explanation is probably lacking.

I would like to execute the quick fix and I can see through firebug how it will look but I haven't a clue where to find the necessary file to make a permanent fix. I thought the site_description div would be in index but it's not, any ideas please? There are just so many files and documents for the forum, I'm totally lost :cry:

Dee
touch
Posts: 284
Joined: Thu Jan 26, 2012 2:11 pm
Location: Highlands

Re: Code monkey help required

Post by touch »

I'm not too sure how to do it - i dont know much about HTML (or web design/layout in general)

Maybe try going to the location of the logo.png file (/styles/AZ_Retro/imageset/logo.png) and see if you can download it, change the size of it, and upload it again?
User avatar
Matt
Posts: 1634
Joined: Thu Jun 23, 2011 10:31 am

Re: Code monkey help required

Post by Matt »

You need to change this image which is in the themes?

bearbonesbikepacking.co.uk/phpBB3/styles/AZ_Retro/theme/images/header_bg.png

If you are altering this with a straight replace it shouldn't break?
User avatar
Matt
Posts: 1634
Joined: Thu Jun 23, 2011 10:31 am

Re: Code monkey help required

Post by Matt »

Emailed the new image to Stu, Matt
The Boss
Site Admin
Posts: 104
Joined: Thu Jun 02, 2011 1:16 pm
Location: a long way from most places

Re: Code monkey help required

Post by The Boss »

Fantasticmrmatt wrote:You need to change this image which is in the themes?

bearbonesbikepacking.co.uk/phpBB3/styles/AZ_Retro/theme/images/header_bg.png

If you are altering this with a straight replace it shouldn't break?
Well it did break! Hence the discussion with touch. The problem is not with the image, that's the only part I fully understand, it's when I upload it, the forum disappears on-line!

I'll have to go back to doing some real work now. Thanks for your help guys, I'll try and break it some more later :D

Dee
User avatar
Matt
Posts: 1634
Joined: Thu Jun 23, 2011 10:31 am

Re: Code monkey help required

Post by Matt »

Just try the one I sent, exact same PNG set up
Post Reply