Title: Fix Header
Last modified: January 24, 2018

---

# Fix Header

 *  Resolved [daviadorna](https://wordpress.org/support/users/daviadorna/)
 * (@daviadorna)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/fix-header-2/)
 * Hi! I need some more help.
 * How can I fix the header in the page?
    I tried to fix the header menu position,
   but this just unconfigured the menu (like the image: [https://postimg.org/image/52ooibavv/](https://postimg.org/image/52ooibavv/))
 * Thanks for help!

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [hannah](https://wordpress.org/support/users/hannahritner/)
 * (@hannahritner)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/fix-header-2/#post-9898610)
 * Hey,
    Can you post a link to your site? Thanks!
 * Hannah
 *  Thread Starter [daviadorna](https://wordpress.org/support/users/daviadorna/)
 * (@daviadorna)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/fix-header-2/#post-9901988)
 * Hi Hannah, the link: hospedagemphp.ufrgs.br/progesp/
 *  [hannah](https://wordpress.org/support/users/hannahritner/)
 * (@hannahritner)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/fix-header-2/#post-9902474)
 * I’m only seeing the search icon out of alignment. Is that the only issue? You
   can use this css to fix that:
 *     ```
       .topclass i.icon-search {
           font-size: 20px;
           line-height: 0;
       }
       ```
   
 * Just paste that into your custom css box in Theme Options > Advanced Settings.
 * Hannah
 *  Thread Starter [daviadorna](https://wordpress.org/support/users/daviadorna/)
 * (@daviadorna)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/fix-header-2/#post-9902556)
 * Hi Hanna, thanks for the tip of the search icon!
    But what I’d like is to leave
   the header fixed at the top anytime of my site, even when I move the scroll bar
   down.
 *  [hannah](https://wordpress.org/support/users/hannahritner/)
 * (@hannahritner)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/fix-header-2/#post-9902858)
 * Oh sorry, I misunderstood. Try adding this to your custom css:
 *     ```
       .headerclass {
           position: fixed;
           top: 0;
           width: 100%;
           z-index: 1000;
       }
       ```
   
 * Does that work to make your header fixed?
 * Hannah
 *  Thread Starter [daviadorna](https://wordpress.org/support/users/daviadorna/)
 * (@daviadorna)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/fix-header-2/#post-9902941)
 * Thank you very much for your attention, Hanna!
    I tried to use the code, but 
   did not leave the header fixed when I move the page down.
 *  [Ben Ritner – Kadence WP](https://wordpress.org/support/users/britner/)
 * (@britner)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/fix-header-2/#post-9903024)
 * > But what I’d like is to leave the header fixed at the top anytime of my site,
   > even when I move the scroll bar down.
 * This is a premium theme feature, there is some javascript that runs and can stick
   the header when scrolling. Hannahs css could work but will create some issues
   for mobile whereas the premium configures all that.
 * Hannahs CSS didn’t work for you because you have this plugin installed: accessibility-
   spring
 * and for some reason I don’t understand it’s adding this css:
 *     ```
       html {
           -webkit-transform: scale(1);
           -moz-transform: scale(1);
           -ms-transform: scale(1);
           -o-transform: scale(1);
           transform: scale(1);
       }
       ```
   
 * Which breaks any fixed elements. You would need to talk to the plugin author 
   about it.
 *  Thread Starter [daviadorna](https://wordpress.org/support/users/daviadorna/)
 * (@daviadorna)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/fix-header-2/#post-9903040)
 * Thanks for help!

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Fix Header’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/virtue/3.4.15/screenshot.png)
 * Virtue
 * [Support Threads](https://wordpress.org/support/theme/virtue/)
 * [Active Topics](https://wordpress.org/support/theme/virtue/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/virtue/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/virtue/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [daviadorna](https://wordpress.org/support/users/daviadorna/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/fix-header-2/#post-9903040)
 * Status: resolved