1) Remove ‘div id=”header”‘ entirely
2) You don’t want to put HTML into the titles like that. In fact, you don’t want to make a link like that at all. Do you have a menu control panel at wp-admin->Appearance->Menus?
3) That is a background image, I think. I’m not 100% sure what you mean. If that is what you are talking about, you need to edit your stylesheet and change the #navi definition.
Thread Starter
dherz
(@dherz)
Hello,
Thanks a lot for your reply. I appreciate it.
Sorry, but I’m a beginner. Here are my new doubts.
1. Do I need to modify index.php? Then, I suppose I will need to download it to my pc, edit it, and then upload it, right?
2. Yes, I’ve got a menu in wp-admin->Appearance->Menus, but the only option available there is to create a new menu. Do I need to do this?
3. I meant the color of the header, which is the same as the footer. But I think I will keep it that way.
Thanks again for you help.
1) I don’t know for sure if that section is in index.php. It might be but I’d bet on your theme’s header.php. Yes, you need to edit it. You can edit files directly in WordPress but I don’t recommend it. Download the file, edit a copy (in case you screw up you can put the original back and try again), and put the file back.
2) Creating a new menu might not be a bad idea. Does the page tell you that your theme support a menu?
Thread Starter
dherz
(@dherz)
Hi there,
Thanks a lot for your help again.
I’m gonna leave point 2 as it is. So, let’s continue with number one.
Inside my theme’s folder, I found a header.php file. I downloaded it and eliminated a tag called <div id=header> plus another one <div id=head>, including their closing tags, but just eliminated half of the space on top of my top navigation bar.
Any suggestions?
Thanks.
… but just eliminated half of the space on top of my top navigation bar.
You were asking how to remove that space weren’t you?
You don’t need ‘div id=”logo”‘ either, since you removed the header image.
Thread Starter
dherz
(@dherz)
[ Moderator note: please surround code snippets with the backtick or use the code button. ]
I deleted the div tag, and nothing happpened. Then, I deleted the contents of that div tag, and still shows that space.
This is the portion I just deleted with no resuls:
<div id="logo">
<?php
$options = get_option('themezee_options');
if ( isset($options['themeZee_general_logo']) and $options['themeZee_general_logo'] <> "" ) { ?>
<a>"><img src="<?php echo esc_url($options['themeZee_general_logo']); ?>" alt="Logo" /></a>
<?php } else { ?>
<a>/"><h1><?php bloginfo('name'); ?></h1></a>
<?php } ?>
</div>
Have you cleared you browser cache? I see about half an inch of light blue above the dark menu/page body section. It was more than two inches the first time I saw it.
Thread Starter
dherz
(@dherz)
I though I could reduce more that space (the one above the dark menu). Is there any way to do that?
Another question. Is it ok all the code I deleted? I mean, what I pasted in my last post.
Thanks a lot.
If you aren’t using the code, you don’t need it. Its fine.
You shouldn’t need ‘div id=”topnavi”‘ either. Then you will need to change the margin on ‘div id=”wrap”‘. Open your theme’s style.css and find #wrap then look for margin:30px auto. The first value, the ’30px’, is the space you want to remove. Change that to whatever you want. Use ‘0’ to remove it altogether or change it to “5px” or whatever you think looks nice.
Thread Starter
dherz
(@dherz)
Great! I reduced the portion I was looking for! Not very much, but now it looks perfect, in my opinion.
Everything solved. You may close this issue if needed.
Thank you so much for your help. I really appreciate it.
Actually, you need to resolve it. I can’t.