different header_bg.png with size 510x115px

  • Amannmed
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 7 months ago #18957 by Amannmed
Hi all,

I want to move the header_bg.png 35px to the left.

The reason why is to have the 100%-Made in Germany inbetween the logo and the contact button.

You can have a look at it here: Link to Site

I have tried to edit layout.css
Code:
.logo { height:115px; width:440px; float:left; } .logo_pad { padding:20px 0 0 25px; } .logo img { float:left; margin-right:5px; } .contact_details { float:right; text-align:right; width:510px; height:115px; overflow:hidden; background:url(../images/header_bg.png) no-repeat; }

Where is the place to change this?

Thanks for your help.

Alex

Please Log in to join the conversation.

More
12 years 7 months ago #18967 by ivan.milic
add this:

background-position:35px 0;

to
.contact_details {...

Please Log in to join the conversation.

  • Amannmed
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 7 months ago #18994 by Amannmed
Dear Ivan,
thanks for your reply!

I'm sorry but this did not solve the problem.

I have set the value to "background-position:-35px 0;" and now it cuts of the image.

I did not want to move the image to the right but to the left. And with your solution it moves the image to the right.

Any other solution for this?

Thanks a lot!

Please Log in to join the conversation.

More
12 years 7 months ago #19002 by ivan.milic
I understood that you want to move background image to right . You can then instead add :

position:relative;
left:-35px;

to .contact_details {

using left property you can move it left or right

Please Log in to join the conversation.

  • Amannmed
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 6 months ago #19012 by Amannmed
Thanks for your help!
It worked but I went a different way.

I removed the background image contact_bg.png and the modul in the top and modified the bg4.png.

This works perfect for me!

Please Log in to join the conversation.

Time to create page: 0.158 seconds
Powered by Kunena Forum