If this is your first visit, check our documentation. To post, register or login.

parts of header obscured by images

Locked

Started by afterhour on 24 Jan 2008, 11:27 AM · Views: 956

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
24 Jan 2008, 11:27 AM
#1
afterhour avatar

afterhour

Zen Follower

Join Date:
Dec 2007
Posts:
92
Plugin Contributions:
0

Post #1 by afterhour

Hi

I am sure I am looking in the right place \includes\templates\agi_template\common\tpl_header.php

But I can't figure out why the headerright image isn't in line like the logo, which seems to have a knock on effect of covering the langauages and currency boxes in the header too :(

Also in IE the Navmain is obscuring these...

http://www.agijewellery.co.uk

Please help, I am new at this but I am trying :)

Kind Regards
AfterHouR

24 Jan 2008, 11:35 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #2 by kobra

Make your logo2 an image that is full width and apply it as a background image in the stylesheet.css look at the classic css for guidance

Zen-Venom Get Bitten

24 Jan 2008, 12:33 PM
#3
afterhour avatar

afterhour

Zen Follower

Join Date:
Dec 2007
Posts:
92
Plugin Contributions:
0

Post #3 by afterhour

Hi Kobra
Thanks for the quick response

removed this from header_tpl

</td> <td rowspan="2"><?php echo zen_image(DIR_WS_IMAGES.'template/logo2.jpg', '', 246, 103); ?></td>

and added this to stylesheet

#HeaderRight{
background-image: url(../template/logo2.jpg);
background-repeat: repeat-x;
height:103px;
}

Now its just gone altogether :(

Where am I going wrong?

Regards
AfterHouR
http://www.agijewellery.co.uk

24 Jan 2008, 12:53 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #4 by kobra

Try

#logoWrapper{
background-image: url(../agi_template/logo2.jpg);
background-repeat: repeat-x;
height:103px;
}

As I do not think you have defined #HeaderRight anywhere but could be wrong and he template dir is /agi_template/ and not /template

Zen-Venom Get Bitten

24 Jan 2008, 1:37 PM
#5
afterhour avatar

afterhour

Zen Follower

Join Date:
Dec 2007
Posts:
92
Plugin Contributions:
0

Post #5 by afterhour

Hi Kobra

this is the location of the image

/public_html/includes/templates/agi_template/images/logo2.jpg

I tried your path and it didn't work, so I have used the same path as #logoWrapperBg which is above it in the .css and the image is in the same directory..

so I have changed the stylesheet to

#logoWrapper{
background-image: url(..images/logo2.jpg);
background-repeat: repeat-x;
height:103px;
}

But it still doesn't show... Should I be defining #HeaderRight somewhere.. or where is it blindingly obvious, I am going wrong?

I really do appreciate you helping me in this BTW

Kind Regards
Simon

24 Jan 2008, 2:12 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #6 by kobra

this is the location of the image

/public_html/includes/templates/agi_template/images/logo2.jpg
Then

#logoWrapper{
background-image: url(..images/logo2.jpg);
background-repeat: repeat-x;
height:103px;
}

Missing "/" ../images

You already have an image as a background agijewellery.co.uk/includes/templates/agi_template/images/bg_header.gif located with

#logoWrapperBg{
	background: url(../images/bg_header.gif) repeat-x;
	height:107px;
	}

Might try:

#logoWrapper{
background-image: url(../images/logo2.jpg);
background-repeat: no-repeat;
float: right;
height:103px;
}

As there are now 2 images you might then require a z-index for level

Zen-Venom Get Bitten

24 Jan 2008, 2:48 PM
#7
afterhour avatar

afterhour

Zen Follower

Join Date:
Dec 2007
Posts:
92
Plugin Contributions:
0

Post #7 by afterhour

Hi Kobra

That didn't work, so I had a delve deeper and found that I had tried to make the writing in the information sideboxes bold type a couple of days ago, which has also affected the links in the centre of the header..

I have deleted the line of code and the header is back to normal....

I just need to find another way of making the text in the left sideboxes bolder now :)

Thanks for all your help.

Kind Regards
Simon