seow Posted July 21, 2013 Share Posted July 21, 2013 Dear vekia,How do i place the headerlogo under the searchbar, login menu etc. layers? Link to comment Share on other sites More sharing options...
vekia Posted July 21, 2013 Share Posted July 21, 2013 hello i moved your thread to the new topic what template you use? Link to comment Share on other sites More sharing options...
seow Posted September 11, 2013 Author Share Posted September 11, 2013 standard template Link to comment Share on other sites More sharing options...
vekia Posted September 11, 2013 Share Posted September 11, 2013 in this case you need to modify the header.tpl file you've got there code: <div id="header" class="grid_9 alpha omega"> <a id="header_logo" href="{$base_dir}" title="{$shop_name|escape:'htmlall':'UTF-8'}"> <img class="logo" src="{$logo_url}" 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}/> </a> <div id="header_right" class="grid_9 omega"> {$HOOK_TOP} </div> </div> use this one: <div id="header" class="grid_9 alpha omega"> <div id="header_right" class="grid_9 omega"> {$HOOK_TOP} </div> <a id="header_logo" href="{$base_dir}" title="{$shop_name|escape:'htmlall':'UTF-8'}"> <img class="logo" src="{$logo_url}" 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}/> </a> </div> Link to comment Share on other sites More sharing options...
vekia Posted September 11, 2013 Share Posted September 11, 2013 then from #header_logo remove position:absolute #header_logo { position: absolute; left: 0; top: 30px; z-index: 1; } (global.css line 579) efect: Link to comment Share on other sites More sharing options...
seow Posted September 11, 2013 Author Share Posted September 11, 2013 Now the logo is gone? Link to comment Share on other sites More sharing options...
vekia Posted September 11, 2013 Share Posted September 11, 2013 can you share url? Link to comment Share on other sites More sharing options...
seow Posted September 11, 2013 Author Share Posted September 11, 2013 http://www.airsoftlipo.com/index.php Link to comment Share on other sites More sharing options...
vekia Posted September 11, 2013 Share Posted September 11, 2013 ok, it's weirdy because you've got there display:none; can you attach header.tpl file? Link to comment Share on other sites More sharing options...
seow Posted September 11, 2013 Author Share Posted September 11, 2013 (edited) ok, it's weirdy because you've got there display:none; can you attach header.tpl file? couldnt upload it here so i did it with dropbox: https://www.dropbox.com/s/fp0y37r832qfl9i/header.rar Edited September 11, 2013 by seow (see edit history) Link to comment Share on other sites More sharing options...
seow Posted September 13, 2013 Author Share Posted September 13, 2013 so did you have a look? Link to comment Share on other sites More sharing options...
vekia Posted September 13, 2013 Share Posted September 13, 2013 yes! i checked it and i thought that i replied here :| with this file everything is okay. the problem is with nivoslider module that you use. it has got this block and this styles <div style='display:none'> what to do? you need to close this div right before the logo. Link to comment Share on other sites More sharing options...
seow Posted September 14, 2013 Author Share Posted September 14, 2013 yes! i checked it and i thought that i replied here :| with this file everything is okay. the problem is with nivoslider module that you use. it has got this block and this styles <div style='display:none'> what to do? you need to close this div right before the logo. i use minicslider and cannot find the div style or something in the style.css where to look? and how do i close the div Link to comment Share on other sites More sharing options...
vekia Posted September 14, 2013 Share Posted September 14, 2013 you have to edit minic slider .tpl file, not css, because this styles are defined in style="" tag Link to comment Share on other sites More sharing options...
seow Posted September 15, 2013 Author Share Posted September 15, 2013 i think i didnt clarify enough what i wanted exactly... i wanted the logo in the same place as standard..but when i make it wider it covers up the searchbar so the searchbar becomes invisible. i just wanted to put the headerlogo behind the searchbar and other topmenustuff Link to comment Share on other sites More sharing options...
vekia Posted September 15, 2013 Share Posted September 15, 2013 you can do it with z-index style for other elements. define this param for: #search_block_top { position: absolute; right: 26%; top: 34px; z-index:9; } and your logo will be behing the search field Link to comment Share on other sites More sharing options...
seow Posted September 15, 2013 Author Share Posted September 15, 2013 (edited) okay great, where do i find the file which has that code? and how do i put the header back to the original position? Edited September 15, 2013 by seow (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted September 15, 2013 Share Posted September 15, 2013 you need to move your logo above the {HOOK_TOP} section in header.tpl file. code that i mentioned you can find in: http://www.airsoftlipo.com/modules/blocksearch/blocksearch.css Link to comment Share on other sites More sharing options...
seow Posted September 15, 2013 Author Share Posted September 15, 2013 you need to move your logo above the {HOOK_TOP} section in header.tpl file. code that i mentioned you can find in: http://www.airsoftlipo.com/modules/blocksearch/blocksearch.css im sorry i am a real big noob on this. when you say move the logo you mean this code? : </div> <a id="header_logo" href="{$base_dir}" title="{$shop_name|escape:'htmlall':'UTF-8'}"> <img class="logo" src="{$logo_url}" 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}/> </a> </div> <div id="columns" class="grid_9 alpha omega clearfix"> <!-- Left --> <div id="left_column" class="column grid_2 alpha"> Link to comment Share on other sites More sharing options...
vekia Posted September 15, 2013 Share Posted September 15, 2013 several posts above you attached header.rar file (dropbox url) it is actual version of your header.tpl file? Link to comment Share on other sites More sharing options...
seow Posted September 15, 2013 Author Share Posted September 15, 2013 several posts above you attached header.rar file (dropbox url) it is actual version of your header.tpl file? the current version of my header is : https://www.dropbox.com/s/atuzl5nl91vmg0u/header.tpl as you can see http://www.airsoftlipo.com/index.php the header is now to high.. Link to comment Share on other sites More sharing options...
vekia Posted September 15, 2013 Share Posted September 15, 2013 okay, now it's necessary to change: 1 add position:absolute to #header_logo in global.css file #header_logo { position: absolute; left: 0; top: 30px; z-index: 1; } 2 to .sf-contener add margin-top:140px; in http://www.airsoftlipo.com/modules/blocktopmenu/css/superfish-modified.css .sf-contener { margin-top:140px; clear: both; } effect: Link to comment Share on other sites More sharing options...
seow Posted September 15, 2013 Author Share Posted September 15, 2013 Awesome i got it thanks! id buy you a beer anyday! Link to comment Share on other sites More sharing options...
vekia Posted September 15, 2013 Share Posted September 15, 2013 you're welcome glad that i could help you a bit im going to mark this topic as [solved] best regards Link to comment Share on other sites More sharing options...
seow Posted September 15, 2013 Author Share Posted September 15, 2013 you're welcome glad that i could help you a bit im going to mark this topic as [solved] best regards so to put the shoppingcart stuff on top i need to add a z index 9 on that aswelll? http://www.airsoftlipo.com/index.php because i want to use a wider banner Link to comment Share on other sites More sharing options...
vekia Posted September 15, 2013 Share Posted September 15, 2013 that's right, you have to define z-index value for each block in your top section Link to comment Share on other sites More sharing options...
seow Posted September 15, 2013 Author Share Posted September 15, 2013 that's right, you have to define z-index value for each block in your top section do you know which blocks those are? because i tried blockcart and that didnt have any effect Link to comment Share on other sites More sharing options...
vekia Posted September 15, 2013 Share Posted September 15, 2013 add z-index: 9; position: relative; to #header_right #header_user in http://www.airsoftlipo.com/modules/blockuserinfo/blockuserinfo.css #header_right #header_user { clear: both; float: right; margin-top: 8px; z-index: 9; position: relative; } Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now