WordPress.org

Ready to get started?Download WordPress

Forums

[Theme: Influencers] header.php editing (9 posts)

  1. RUMOR.lt
    Member
    Posted 1 year ago #

    Hi,
    Im using The Influencers theme.

    I have edited header.php file with dreamweaver in order to put in an image as a logo.
    1. I have replaced a php code which 'gets a site name' into a picture.
    2. I have inserted facebook like code.

    After this, search bar is gone and logo image does not fit to the template. Is it possible to make a header space higher ?
    blogurl: http://www.rumor.lt

    I want to find out how to make more space in header.

  2. gilgimech
    Member
    Posted 1 year ago #

    First off. You have your logo wrapper in a <hgroup> tag. <hgroup> tags are for grouping H tags (<h1>). Try changing it to a <div>.

    If that doesn't work add this CSS to <div> wrapping your logo image.

    position: absolute;
    top: -30px;
  3. RUMOR.lt
    Member
    Posted 1 year ago #

    Thank you for quick answer, but sorry for newbie question. Im not good at changing the codes. Should I edit only the header.php file ?

  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    I would try just adding this to your style.css file:

    #banner {
      height: 100px;
    }

    BTW, making changes to theme files is not generally recommended as your changes will be overwritten when the theme is updated. Rather use a child theme:

    http://codex.wordpress.org/Child_Themes

  5. micmko
    Member
    Posted 1 year ago #

    I have a client that is using a theme (Nemesis - purchased at Theme Forest) that does not support child themes. Is there any way in which to add that capability to this or any theme that does not support child themes? If not, is there a best approach to minimise pain and suffering when the theme or WordPress is updated? Sorry of this is not the right place to ask this question.

    TIA

  6. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    @micmko - your question is totally unrelated here -- please start your own thread: http://wordpress.org/support/forum/how-to-and-troubleshooting#postform

  7. RUMOR.lt
    Member
    Posted 1 year ago #

    @WPyogi - thanks it really helped. But now I have another problem - the search bar is gone.
    How can I fix the search bar ?
    How can I put facebook like box near by banner not by search ?

    Sorry for the language

    EDIT: when I open any post ar a category banner is also gone :(

  8. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Okay, see if adding this fixes the search bar:

    #banner-inner #searchform {
      margin-top: -30px;
    }

    I'm also going to repeat my earlier advice that you should not be making changes to theme files -- you are going to lose all of them when the theme is updated.

    You also have an invalid character in your search-bar HTML - that's causing problems for the validator - so you should fix that:

    http://validator.w3.org/check?uri=http%3A%2F%2Frumor.lt%2F&charset=%28detect+automatically%29&doctype=Inline&group=0

  9. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    As to the question about the header image on other pages, I can't answer that -- perhaps your theme uses a different header.php on other pages? You'd need to ask the theme developer. These forums generally only support themese from here:

    http://wordpress.org/extend/themes/

    so themes from elsewhere are not usually specifically supported here.

Topic Closed

This topic has been closed to new replies.

About this Topic