headerimage float center instead of left
-
https://www.aeon-strategic.com/
I changed my headerimage from below the navigation and inside the container to hanging above the whole thing.
But now I am not capable of having it in the center of the page.
Any ideas?
css
#headerimage {
float: center;
position: relative;
background: transparent url(img/header.jpg) no-repeat center;
margin: 0 0px 5px 0px;
height: 75px;
width: 880px;
}#header {
clear: both;
float: center;
margin: 0px 0px 0px 0px;
width: 450px;
position: relative;
}header.php
<?php wp_head(); ?>
</head>
<body id=”section-index”><div id=”header”></div>
<!– end id:header –><div id=”headerimage”>
</div><!– end id:headerimage –><div id=”navigation”>
-
<li <?php if(is_home()){echo ‘class=”current_page_item”‘;}?>>/” title=”<?php _e(‘Home’,’ml’);?>”><?php _e(‘Home’,’ml’);?>
<?php wp_list_pages(‘title_li=&depth=1&’.$page_sort.’&’.$pages_to_exclude)?></div><!– end id:navigation –>
<div id=”container”>
- The topic ‘headerimage float center instead of left’ is closed to new replies.