Centering the header in Corpo theme
-
Hello,
I am trying to center the header image in the free Corpo theme. I am a newby to WP and no nothing about coding, html, css etc.This is the website; https://www.NEOhioinsuranceagent.com
This is the text in the edit template, in the header file
<!DOCTYPE html>
<html <?php language_attributes(); ?> class=”no-js”>
<head>
<meta charset=”<?php bloginfo(‘charset’); ?>”>
<meta name=”viewport” content=”width=device-width, initial-scale=1, maximum-scale=1″>
<title><?php wp_title(); ?></title>
<?php wp_head(); ?>
</head>
<?php if ( is_front_page() && of_get_option(‘corpo_hp_style’) == 1 ) { $class = ‘custom-front’; } else { $class = ”; } ?>
<body <?php body_class($class); ?>><div id=”wrapper”>
<div id=”top-bar”>
<div class=”right”>
<?php corpo_social_icons(); ?>
</div>
<?php if ( of_get_option(‘corpo_social_phone’) ) : ?>
<div class=”left”><?php _e(‘Call us at’,’corpo’); ?> <?php echo of_get_option(‘corpo_social_phone’); ?></div>
<?php endif; ?>
</div>
<!– header –>
<header id=”header”>
<div id=”header-inner”>
<div id=”logo”>
<?php if (of_get_option(‘corpo_logo_image’)) : ?>
” class=”logo-img”><img src=”<?php echo of_get_option(‘corpo_logo_image’); ?>” alt=”<?php bloginfo( ‘name’ ); ?>” />
<?php else : ?>
<h1 id=”site-title”>” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?> – <?php bloginfo(‘description’); ?>” rel=”home”><?php bloginfo(‘name’); ?></h1><p class=”site_tagline”><?php bloginfo(‘description’); ?></p>
<?php endif; ?>
</div>
<!– navigation –>
<nav id=”main-nav” role=”navigation”>
<?phpI’m sorry if I put too much PHP on this question. Thanks
- The topic ‘Centering the header in Corpo theme’ is closed to new replies.