WordPress.org

Ready to get started?Download WordPress

Forums

How to get rid of the hearer (6 posts)

  1. timfar
    Member
    Posted 9 years ago #

    Hello,
    First congratulations on this amazing achievment. I think you should change the 5 minutes installation since I install the software in less than 3 minutes. Thank you.
    Anyway I have 2 problems and I hope you can help please:
    1- The header is 700x200 and basically too big. I am running the log within a frame which already has a header almost as big. So this means half of the page is gone for 2 headers. Is there any way I can get rid of header all together or at least reduce its hight to something like 60 - 80?
    2- The second problem is the file upload. When I upload a file it goes to /web-content/ directory but the produced link is missing the directory where the scripts are installed. For example the wordpress is installed in http://www.mydomain.com/wordpress and the directory with uploaded file is http://www.mydomain.com/wordpress/web-content/myfile.jpg but after upload I get this link: http://www.mydomain.com/web-content/myfile.jpg (The wordpress is missing) any idea why? Thank you again and sorry if the questions are repeat.

  2. Lorelle
    Member
    Posted 9 years ago #

    First, you change your header, depending upon your theme, in the header.php or style.css. And by the way, frames are seriously considered "nasty" in web page design, so you might want to change that part of your web page design and get rid of them. Check out Integrating WordPress with Your Website.

    Second, do you have the specific URL to your wordpress site listed in the Options of your Admin? Make sure it is there. I personally am not a fan of the built-in file uploader. It is very convenient, but I tend to upload a lot of pictures at once, so I recommend you use an FTP program and then you can totally control where your stuff goes.

    And congrats on the fast install!

  3. timfar
    Member
    Posted 9 years ago #

    thank you. Well there are a couple of things: I am using the standard default theme witha big wide blue colour on top. I tried to resize the picture or make changes to the stylesheet but it was unsuccessful. The frames I can't get rid of them because the whole site is made based on frame and html. It is going to be a long term project but I need a quick solution. I looked at the link you mentioned but it is for php not got for simple html.
    The other problem is for the upload I can't use ftp otherwise I should create an ftp account for all users who want to upload a file! It is easier to give them ability to use the control panel and upload the file. The only problem is it generates a wrong link and I wish I could make that corrected.
    Going back to the first issue I really need to reduce the size of this huge blue picture to as little as i can (even to get rid of it) I tried the search here but not muh help I could find. Please let me know if you can help with this.

    Thanks again

  4. KyleGM
    Member
    Posted 9 years ago #

    Go to your wordpress-dir/wp-content/themes/default folder and edit the 'header.php' file. Erase from line 59 to 63.

    <div id="header">
    <div id="headerimg">
    <h1><a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a></h1>
    <div class="description"><?php bloginfo('description'); ?></div>
    </div>

  5. timfar
    Member
    Posted 9 years ago #

    Hi , Thank you I ddeleted those lines and now I got rid of the blue banner thing but now I don't have the background box on top and in the middle! What should I do now?

  6. Lorelle
    Member
    Posted 9 years ago #

    1. Provide a link to something we can look at.

    2. KyleGM's solution was the radical one, the one that eliminated your entire header, which is what you wanted, but it seems that part of the overall background image that you wanted to remain is now gone.

    3. Put back in the above that you deleted. Remove or comment out the lines:

    <h1><a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a></h1>
    <div class="description"><?php bloginfo('description'); ?>

    Go into the head of the header.php and/or the style.css in your Theme folder and look for:

    #header {something here}
    #headerimg {something here}

    In the "something here" section, look for any reference to a graphic. It will look like background:url(graphicname.jpg)....... If you want the graphic, then leave it and it should appear, but the text should not.

    If you want the graphic but you don't want the height of where the header would be, in other words, you want to have the picture descend down through the back of the document behind the text, things get a little more complicated.

    A. Copy the background:url(graphic.jpg) information and move it to one of the following (experiment): body, #rap, or #content.

    B. In the #header and #headerimg remove or comment out those two references and leave the information in there for future reference when you get rid of the horrid frames.

    C. Now play. It may involve some tweaking of things to have the information in the header disappear, but if you provide a link, we can be more specific with how you should fix this.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.