1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

I don't wanna fixed header on Wordpress, please help !

Discussion in 'WordPress' started by Nourddine Khiti, Nov 18, 2014.

  1. #1
    Hello, i wanna get my header normal i don't want it to be fixed anymore, please help what shall i do ?
     
    Nourddine Khiti, Nov 18, 2014 IP
  2. sarahk

    sarahk iTamer Staff

    Messages:
    28,500
    Likes Received:
    4,460
    Best Answers:
    123
    Trophy Points:
    665
    #2
    1. Change the template.
    2. Edit the template.
     
    sarahk, Nov 18, 2014 IP
  3. Nourddine Khiti

    Nourddine Khiti Active Member

    Messages:
    170
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #3
    How can I change the template and how can I edit the template ?
     
    Nourddine Khiti, Nov 22, 2014 IP
  4. sarahk

    sarahk iTamer Staff

    Messages:
    28,500
    Likes Received:
    4,460
    Best Answers:
    123
    Trophy Points:
    665
    #4
    It really depends on the theme that you've used and how much control you have in the admin settings otherwise you will be editing the a stack of template files including style.css. Can't tell you which files without knowing which template you use - and even then you might be better going to the designer's site and asking.

    You may find it is quicker and simpler just to get a new template.
     
    sarahk, Nov 23, 2014 IP
  5. IG2010

    IG2010 Well-Known Member

    Messages:
    1,424
    Likes Received:
    55
    Best Answers:
    0
    Trophy Points:
    195
    #5
    check your theme author and send him an email, easy as 1-2-3, don't forget to thank him for his job.
     
    IG2010, Nov 23, 2014 IP
    sarahk likes this.
  6. postcd

    postcd Well-Known Member

    Messages:
    1,037
    Likes Received:
    9
    Best Answers:
    1
    Trophy Points:
    190
    #6
    Go to wordpress admin area, then find Appearance or Themes section. Then go to Editor, then lookup style.css or similar .css file to edit.
    Then copy that file contents and save it for backup purpose, then find in that file width parameter next to main body / header div. and adjust the width in pixels.If its too hard, you need to hire someone or ask developer as mentioned above.
     
    postcd, Nov 25, 2014 IP
  7. Naina S

    Naina S Active Member

    Messages:
    203
    Likes Received:
    7
    Best Answers:
    1
    Trophy Points:
    93
    #7
    Have all the necessary things in both header.php and footer.php.
    i am giving you their template structure, please check in you theme if anything is missing.

    header.php
    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
      <meta charset="<?php bloginfo( 'charset' ); ?>">  
      <title><?php wp_title( '|', true, 'right' ); ?></title>
      <?php wp_head(); ?>
      <link rel="icon" type="image/png" href="<?php echo get_stylesheet_directory_uri(); ?>/Images/favicon.ico" />
    </head>
    <body <?php body_class(); ?>>
    <div id="header" class="header">
      <div id="navigation">
         <?php
    
        $defaults = array(
            'theme_location'  => '',
            'menu'            => '',
            'container'       => '',
            'container_class' => '',
            'container_id'    => '',
            'menu_class'      => 'menu',
            'menu_id'         => '',
            'echo'            => true,
            'fallback_cb'     => 'wp_page_menu',
            'before'          => '',
            'after'           => '',
            'link_before'     => '',
            'link_after'      => '',
            'items_wrap'      => '<ul id="%1$s" class="%2$s">%3$s</ul>',
            'depth'           => 0,
            'walker'          => ''
        );
    
        wp_nav_menu( $defaults );
    
        ?>
      </div>
    </div>
    PHP:
    footer sturcture (footer.php)
    <div id="footer" class="footer">
    </div>
    </div>
    <?php wp_footer(); ?>
    </body></html>
    PHP:
     
    Last edited by a moderator: Nov 28, 2014
    Naina S, Nov 27, 2014 IP