Jump to content

Center in header and line breaks...


Funessen

Recommended Posts

So, I'm working on remaking some things in a wordpress theme, and I'm not very good at it, so I need some help with an issue I've come across

 

http://henrik.rosendalvonessen.dk/

 

That's my current site im working with this theme on.

 

In the very top of my page, I want to center an image with a logo (Just used google while working with it)

Under the logo, I want my menu to appear, centered as well.

 

This is first of all what I would like to get done. After that comes centering the body, and only allow either 3 or 4 columns of images.

 

Any help would be greatly appriciated. Php is ver confusing when you're new to it

Link to comment
Share on other sites

I suggest you go to a wordpress theme developer site to ask this sort of question.  People who specifically develop wordpress themes may be able to better point you in the right direction as far as what file(s) you need to modify.  Or hire someone to do the work for you.  There's certainly nothing we can really help you with, just going to your site...

Link to comment
Share on other sites

The problem is that it's a free theme, and the author doesn't provide support for his free themes.

I just figured, perhaps if I posted the header php code here, you could have a look at it. It's probably very easy for guys like you :)

 

<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />

<title><?php wp_title('«', true, 'right'); ?> <?php bloginfo('name'); ?></title>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />

<?php if (get_option('soy_style') == "black") : ?>
<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/black.css" />
<?php endif; ?>

<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/js/colorbox/colorbox.css" />

<?php if (get_option('soy_favicon')) : ?>
<link rel="shortcut icon" href="<?php echo get_option('soy_favicon'); ?>">
<?php endif; ?>

<!--[if lte IE 8]>
<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/ie.css" />
<![endif]-->
<!--[if lte IE 7]>
<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/ie7.css" />
<![endif]-->

<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
<?php wp_head(); ?>

<script type="text/javascript">
  WebFontConfig = {
	custom: { families: ['LeagueGothicRegular'],
	urls: [ '<?php echo get_template_directory_uri(); ?>/font/league/stylesheet.css'] }
  };
  (function() {
var wf = document.createElement('script');
wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
	'://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
wf.type = 'text/javascript';
wf.async = 'true';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(wf, s);
  })();
</script>

</head>

<body <?php body_class(); ?>>

<!-- =================================
Header and Nav
================================= -->
<div id="header">
<div id="site-info">
        <center><img src="https://www.google.dk/images/srpr/logo3w.png" style="width: 275px; height: 95px;" /></center><br />
	<h1 id="logo"><a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
    </div>
         <?php wp_nav_menu( array( 'container_class' => 'nav', 'theme_location' => 'primary' ) ); ?>
    <br class="clearfix" />
</div>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.