Jump to content

[solved] Header size is not in global.css


Recommended Posts

Hello guys,

i have read many tutorials and in all was open global.css and rewrite size of header but in my global.css i dont have size of my header

#header {position:relative}
#header_logo {
float:left;
display:block;
margin-top:30px;
margin-left:10px;
}

#header_right {
position:relative;
float: right;
height:130px;
margin-right:20px;
width:700px;
}

My site is www.styleshop.finacademy.eu How can i change size of my header? Thank you for answers and sorry for my bad english

Edited by vekia (see edit history)
Link to comment
Share on other sites

in this case you have to edit header.tpl file you've got there definition of width="" and height="" - just remove it

it looks like:

<img src="{$logo_path}" style="width:{$width_logo}px; height:{$height_logo}px;" />

in the header.tpl file

Link to comment
Share on other sites

here it is:

  <img class="logo" src="{$img_dir}logo.png?{$img_update_time}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" {if $logo_image_width}width="{$logo_image_width}"{/if} {if $logo_image_height}height="{$logo_image_height}" {/if} />

 

change it to:

<img class="logo" src="{$img_dir}logo.png?{$img_update_time}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" />

Link to comment
Share on other sites

May I open this again please?

 

I'm having the same problem but the solutions above are not working. I'm using 1.5.4.1 which appears slightly different to 1.5.4.0 in that the CSS is not the same (but shouldn't really make a difference) and that the DIV containing the menu is nested within 'header_right' whereas it was previously outside, therefore underneath and pushed down automatically by the logo size.

 

I have a solution that works for the time being but am hoping there is a better answer available. My workaround as follows:

 

Added to global.css:

 

.sf-contener {

padding-top: 30px;

}

 

Many thanks for any further advice.

Link to comment
Share on other sites

Certainly, here's the site (working in maintenance mode but will open it up in just a second):

http://www.loadsofsweets.co.uk

I've left 'my fix' in pace so if you'd prefer to see it 'broken' let me know.

Thanks for a taking a look.

 

(please pardon the mismatch of logo, URL and product range; it's a work in progress! :))

Edited by FranksBank (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...