Kevinh150
Member
Posted 2 years ago #
My url is http://prettycoolgame.com/
The header as you can see is a bit messed up, I had an issue earlier with the post titles not working as links and now its the header, I was able to make the header clickable by adding that but now I can't figure out how to do the obvious, put it in the right spot. I would also like to make it so the search bar is infront of the picture/header because right now it is hidden behind it.
All I switched in the settings was I put the header in header.php and changed a little in the default.css.
Thanks in advance for anyone that can help.
aianta03
Member
Posted 2 years ago #
It looks like you have two header...
could you post your header div? for us to take a look at
Kevinh150
Member
Posted 2 years ago #
<div id="header">
<div id="branding" class="clearfix">
<div class="logo clearfix">
<h1 class="blog-name"><img src="http://prettycoolgame.com/wp-content/uploads/2009/08/header03.jpg"></h1>
</div>
<div id="searchbar">
<?php include (TEMPLATEPATH . '/searchform.php'); ?>
</div>
</div><!-- #branding -->
</div><!-- #header -->
The header behind it is what I put int he default.css, it wasn't clickable and realized I could make it clickable in the header.php. Thanks for the fast reply.
aianta03
Member
Posted 2 years ago #
From what I see here your blog title is a jpg. Try going back to the original 1 header that wasn't clickable and link the jpg to your home page.
Kevinh150
Member
Posted 2 years ago #
You mean from the default.css? What is the code for that? The same code?
Kevinh150
Member
Posted 2 years ago #
This is my header info in default.css if this helps
/* header */
#header { background: #1c4245; border-bottom: 5px solid #194A49; padding: 0 0 15px 0;
background-image:url('http://prettycoolgame.com/wp-content/uploads/2009/08/header03.jpg');
background-repeat:no-repeat;
background-attachment:scroll;
background-position:center top;}
aianta03
Member
Posted 2 years ago #
What theme are you using, I'll try to use it on my theme tester website on my localhost.
Kevinh150
Member
Posted 2 years ago #
I use the arras theme. Thanks in advance.
aianta03
Member
Posted 2 years ago #
did you modify the theme's header in order to place that header3.jpg image?
I just installed it on my localhost and my header div looks like this
<div id="header">
<div id="branding" class="clearfix">
<div class="logo clearfix">
<?php if ( is_home() || is_front_page() ) : ?>
<h1 class="blog-name">"><?php bloginfo('name'); ?></h1>
<h2 class="blog-description"><?php bloginfo('description'); ?></h2>
<?php else: ?>
<span class="blog-name">"><?php bloginfo('name'); ?></span>
<span class="blog-description"><?php bloginfo('description'); ?></span>
<?php endif ?>
</div>
<div id="searchbar">
<?php include (TEMPLATEPATH . '/searchform.php'); ?>
</div>
</div><!-- #branding -->
</div><!-- #header -->
Kevinh150
Member
Posted 2 years ago #
Yeah it had that, from the Arras forums they suggested to replace that with
<div id="header">
<div id="branding" class="clearfix">
<div class="logo clearfix">
<h1 class="blog-name"><img src="http://www.yoursite.com/images/logo.png"></h1>
</div>
That could be the issue but when erasing that stuff it gets rid of the text thats there by default.
aianta03
Member
Posted 2 years ago #
In my opinion there is no need for that change, If there was they should have published an updated version of the theme with those changes made. I think you should change back to what came with the theme.
Kevinh150
Member
Posted 2 years ago #
Okay, thanks for your advice. I may just try to find a different theme and go from there but I dont know yet, but you dont see a way to fix this?
aianta03
Member
Posted 2 years ago #
aianta03
Member
Posted 2 years ago #
There probably is a way to fix this but I only have a fundamental knowledge of CSS and PHP so I probably just don't see it!
If you want to keep trying I recommend looking at the header CSS and how it is placed. Once again Sorry I couldn't be of too much help.
EDIT
For extra reference go to the Codex specifically:
http://codex.wordpress.org/Designing_Headers
http://codex.wordpress.org/CSS
If you need any help with CSS sytax or stuff like that go to
http://www.w3schools.com/css/default.asp
I will keep on trying things for you and I might write a post on my blog for this matter.
My Blog: http://www.zgentech.com/
Kevinh150
Member
Posted 2 years ago #
Ill give that theme a try. Thanks for trying to help.
aianta03
Member
Posted 2 years ago #
I hope you get things sorted out.
randypatton
Member
Posted 2 years ago #
Can you tell me the correct code to insert a header I created into the aurelia theme? I think I may have made a mistake by removing the default header in the images section of the FTP client instead of renaming it with my new header file name.