But it seems no matter what I try I can’t get the logo to move center. Its stuck in left position and the nav seems to lean more towards right by default.
Can someone please tell me how to center logo image please?
Reason I have header image in logo area is just looks better. When I try to use header to place my image it expands it to full width and distorts image.
Thanks for any help with this.
]]>I tried already to do it by myself and using tips from other WP members but the problem still persists. The header image is not centered and worse, it appears differently in FireFox (the picture looks all the way to the right) and in Google Chrome it looks centered horizontally but lower than it should, which blocks the view of the beginning of text. I tried modifying the ccs and right now its as follows (the website is https://www.luzenelcielo.com/ ):
#header {
background: url(‘images/BrandleHeader.gif’) no-repeat top center transparent;
margin: 0 auto;
height: 548px;
width: 1000px;
}
#headerimg {
margin: 0 auto;
padding: 0 auto;
height: 144px;
width: 100%;
}
Thanks in advance!
Here is the site that I’ve built:
https://66.147.244.233/~salonxlc/Wordpress/
Please let me know what rule I should change to adjust the image to be centered. And please, let me know in step by step, I am not a talented web developer! Thanks in advance!
]]>Lori
]]>Just started another WordPress blog, and ran into a new problem that I have trawled through Google to find a solution for, but to no avail.
www.deamie.com/me
I have removed the Menu and the two black blocks below and above the Header Image. Next, I would like to:
A) Round the corners of the header image.
and
B) Center the header image.
Would really appreciate any pointers, thanks!
]]><!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.1//EN” “https://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd”>
<?php /* Arclite/digitalnature */ ?>
<html xmlns=”https://www.w3.org/1999/xhtml” <?php //language_attributes(); ?>>
<head profile=”https://gmpg.org/xfn/11″>
<meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />
<title><?php wp_title(‘«’, true, ‘right’); if (get_query_var(‘cpage’) ) echo ‘ Page ‘.get_query_var(‘cpage’).’ « ‘;?> <?php bloginfo(‘name’); ?></title>
<link rel=”alternate” type=”application/rss+xml” title=”<?php bloginfo(‘name’); ?> RSS Feed” href=”<?php bloginfo(‘rss2_url’); ?>” />
<link rel=”alternate” type=”application/atom+xml” title=”<?php bloginfo(‘name’); ?> Atom Feed” href=”<?php bloginfo(‘atom_url’); ?>” />
<link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
<link rel=”shortcut icon” href=”<?php bloginfo(‘template_directory’); ?>/favicon.ico” />
<?php if (is_singular() && get_option(‘thread_comments’)) wp_enqueue_script( ‘comment-reply’ ); ?>
<?php if(get_arclite_option(‘jquery’)): ?>
<?php wp_enqueue_script(‘jquery’); ?>
<?php wp_enqueue_script(‘arclite’,get_bloginfo(‘template_url’).’/js/jquery.arclite.min.js’,array(),false,true); ?>
<?php endif; ?>
<?php wp_head(); ?>
</head>
<body <?php if (is_home()) { ?>class=”home”<?php } else { ?>class=”inner”<?php } ?>>
<!– page wrap –>
<div id=”page”<?php if(!is_page_template(‘page-nosidebar.php’)) { echo ‘ class=”with-sidebar’; if((get_arclite_option(‘threecol’)) || (is_page_template(‘page-3col.php’))) echo ‘ and-secondary’; echo ‘”‘; } ?>>
<!– header –>
<div id=”header-wrap”>
<div id=”header” class=”block-content”>
<div id=”pagetitle”>
<?php
// logo image?
$logo = (get_arclite_option(‘logo’));
if($logo): ?>
<h1 class=”logo”>/”><img src=”<?php echo $logo; ?>” title=”<?php bloginfo(‘name’); ?>” alt=”<?php bloginfo(‘name’); ?>” /></h1>
<?php else: ?>
<h1 class=”logo”>/”><?php bloginfo(‘name’); ?></h1>
<?php endif; ?>
<?php if(get_bloginfo(‘description’)<>”) { ?><h4><?php bloginfo(‘description’); ?></h4><?php } ?>
<div class=”clear”></div>
<?php if(get_arclite_option(‘search’)<>’no’) { ?>
<?php // get_search_form(); ?>
<!– search form –>
<div class=”search-block”>
<div class=”searchform-wrap”>
<form method=”get” id=”searchform” action=”<?php bloginfo(‘url’); ?>/”>
<fieldset>
<input type=”text” name=”s” id=”searchbox” class=”searchfield” value=”<?php _e(“Search”,”arclite”); ?>” onfocus=”if(this.value == ‘<?php _e(“Search”,”arclite”); ?>’) {this.value = ”;}” onblur=”if (this.value == ”) {this.value = ‘<?php _e(“Search”,”arclite”); ?>’;}” />
<input type=”submit” value=”Go” class=”go” />
</fieldset>
</form>
</div>
</div>
<!– /search form –>
<?php } ?>
</div>
<!– main navigation –>
<div id=”nav-wrap1″>
<div id=”nav-wrap2″>
<ul id=”nav”>
<?php
if((get_option(‘show_on_front’)<>’page’) && (get_arclite_option(‘navigation’)<>’categories’)) {
if(is_home() && !is_paged()){ ?>
<li id=”nav-homelink” class=”current_page_item”>” title=”<?php _e(‘You are Home’,’arclite’); ?>”><span><?php _e(‘Home’,’arclite’); ?></span>
<?php } else { ?>
<li id=”nav-homelink”>” title=”<?php _e(‘Click for Home’,’arclite’); ?>”><span><?php _e(‘Home’,’arclite’); ?></span>
<?php
}
} ?>
<?php
if(get_arclite_option(‘navigation’)==’categories’) {
echo preg_replace(‘@\<li([^>]*)>\<a([^>]*)>(.*?)\<\/a>@i’, ‘<li$1><span>$3</span>‘, wp_list_categories(‘show_count=0&echo=0&title_li=’.get_arclite_option(‘navigation_exclude’)));
}
else {
echo preg_replace(‘@\<li([^>]*)>\<a([^>]*)>(.*?)\<\/a>@i’, ‘<li$1><span>$3</span>‘, wp_list_pages(‘echo=0&orderby=name&title_li=&exclude=’.get_arclite_option(‘navigation_exclude’)));
}
?>
</div>
</div>
<!– /main navigation –>
</div>
</div>
<!– /header –>