Limited time only! The Ultimate WordPress Developer Bundle only $149

Mysitemyway
  • Home
  • Themes ˇ
    • Construct
    • Myriad
    • Method
    • Fusion
    • Elegance
    • DejaVu
    • Persuasion
    • Modular
    • Echelon
  • Features
  • Pricing
  • Blog
  • Skin Browser
  • Support ˇ
    • FAQ’s
    • Documentation Wiki
    • Support Forum
    • Contact Us
  • Login
    • Forgot Password?

Customizing the Header

Home / Documentation / Customizing the Header
 

The header includes your logo, menu, sociables, etc etc. This will be a tutorial on how to customize these elements.

Contents

  • 1 Identifying the Header elements
  • 2 Styling the header elements
  • 3 Creating more space for your logo
  • 4 Sociables opening up in a new tab


Identifying the Header elements

In the following image you will see Persuasion and all of the elements in the header. No matter which theme your using it will have these features so read on below to figure out how to configure and style them.

1

Header links menu area

This is one of the menu areas of our framework and is called "Header Links". Navigate to Dashboard -> Appearance -> Menus to create a new menu and assign it to this area. It usually displays around the logo but that's not always the case. For example in Myriad it displays beneath the primary menu. You can target it with the following CSS.

.header_links {  }
.header_links a {  }
.header_links a:hover {  }

2

Extra header text

This is usually used for adding phone numbers, emails, and other contact information to the header but can be used for anything. It usually displays around the sociables.

.header_text {  }

3

Sociables

You can add sociables to your header in Dashboard -> your theme -> Sociables. They usually display in the top right hand corner of your header.

.header_social {  }
.social_icon a {  }
.social_icon a img {  }

4

Logo

You can set your logo in Dashboard -> your theme -> General Settings.

.logo {  }

5

Primary menu area

The primary menu just like the header links is another menu area of our framework which you can setup in Dashboard -> Appearance -> Menus. It will usually display below or to the right of the logo.

#primary_menu {  }
.jqueryslidemenu .sub-menu a {  }
.jqueryslidemenu .sub-menu a:hover {  }

Styling the header elements

The most common request for the header elements is how to move them around or change their colors. Here are some quick examples to give you an idea on how to style these elements. If you wish to do any of these yourself then just copy and paste the code into Dashboard -> your theme -> General Settings -> Custom CSS.

Moving an element: If your just wanting to move one of the elements a little bit then you would play around with their top, left, right, and bottom attributes like so,

.logo { position: absolute !important; top: 50px !important; left: 200px !important; }
#primary_menu { position: absolute !important; top: 100px !important; right: 20px !important; }

In the above example we are setting the logo's position to "absolute" which means it will display exactly 50px from the top and 200px from the left inside the header. You can do this with any of the header elements, just replace the classes and ID's with the examples above.

Changing the link colors and fonts: Another popular request is how to change the menu link colors. You can start by adding this in Dashboard -> your theme -> General Settings -> Custom CSS,

.header_links a { color: white !important; }
.header_links a { color: #000000 !important; }

.jqueryslidemenu .sub-menu a { font-family: "Verdana" !important; color: red !important; }
.jqueryslidemenu .sub-menu a:hover { font-family: "Arial" !important; color: blue !important; }

In the first two lines we are changing the header link colors to white and when hovered over to black. The "#000000" is the hex color for black. You can do a google search for "hex colors" and find a lot of color lists to use.

The last lines are for the primary menu. You can style the top level menu items in your skin but for the dropdown links you can use that. You can see how to change the font as well.

Creating more space for your logo

Sometimes you will want to use a very large logo and the header may not be big enough for it. In this case you can increase the height of your header by adding this in Dashboard -> your theme -> General Settings -> Custom CSS,

#header { height: 200px !important; }

If your using inFocus then you may also want to edit the header background image after doing this which you can find in /wp-content/themes/infocus/images/header.png.

Sociables opening up in a new tab

Another popular request is to have the sociables open in a new tab. You can do this by adding the following in Dashboard -> your theme -> General Settings -> Custom Javascript,

jQuery(document).ready(function(){
jQuery('.social_icon a').attr('target', '_blank');
});
Retrieved from "http://mysitemyway.com/docs/index.php/Customizing_the_Header"
Category: Customization
Navigation
  • Get Started
  • Archives
  • Advanced Search
  • Category List
Categories
  • Configuration
  • Shortcodes
  • Customization
  • Advanced Features
  • Troubleshooting
  • Changelogs
  • Plugins
  • Framework Docs
Theme Specific
  • inFocus
  • Awake
  • Dejavu
  • Elegance
  • Echelon
  • Modular
  • Persuasion
  • Fusion
  • Method
  • Myriad
  • Construct
Toolbox
  • What links here
  • Related changes
  • Special pages
  • Printable version
  • Permanent link
 
Personal tools
  • Log in
prev
Construct WordPress Theme
detailspurchase
Construct wordpress theme
Myriad WordPress Theme
detailspurchase
Myriad wordpress theme
Method WordPress Theme
detailspurchase
Method wordpress theme
Fusion WordPress Theme
detailspurchase
Fusion wordpress theme
Elegance WordPress Theme
detailspurchase
Elegance wordpress theme
Echelon WordPress Theme
detailspurchase
Echelon wordpress theme
Persuasion WordPress Theme
detailspurchase
Persuasion wordpress theme
Dejavu WordPress Theme
detailspurchase
Dejavu wordpress theme
Modular WordPress Theme
detailspurchase
Modular wordpress theme
next
Start Your Free Trial

Come and be a part of the fastest growing new Premium WordPress Theme Club around!

Quick Links

  • Browse All Themes
  • Tour Features
  • Browse All Skins
  • View Pricing
  • Mysitemyway Blog
  • Affiliate Program
  • Testimonials

Support Links

  • Frequently Asked Questions
  • Support Forums
  • Theme Documentation
  • Shortcode Documentation
  • Contact Us

Theme Features

  • Features Overview
  • Dedicated Support Team
  • Enhanced Performance
  • Shortcode Generator
  • Free Updates
  • Skinning Community

Live Demos

  • Construct WP Theme
  • Myriad WP Theme
  • Method WP Theme
  • Fusion WP Theme
  • Elegance WP Theme
  • Echelon WP Theme
  • Persuasion WP Theme
Mysitemyway Money Back Guarantee
30 Day Money Back Guarantee

We stand behind the quality of our themes, and believe that you will be fully satisfied. If, for any reason you are not fully satisfied, we offer a 30 day, no-hassle, money-back guarantee.

Who's Using Mysitemyway?

11412 Users Can't Be Wrong...
122254 Support Forum Posts!
I've been working with WordPress for a while now and I wanted to say that MysiteMyway is by far the best support I have come across. I've purchased about 30 themes, Dejavu was the first from these guys and I couldn't be happier!

Layers

Your themes and support are the best in the entire Internet universe! Over the years I have bought many themes that never work as advertised. Your 30 day money back guarantee is a no brainer risk on your part: Who would ever want their money back? The designers, QA and support staffs are a throwback to the good old days when businesses cared about the quality of their products and their customers.

Frank Gennaro

I just wanted to say, that this theme is absolutely amazing. The documentation is superb and the customer service is above and beyond! I would have spent MORE for such expertise and service that you receive with this product.
Thanks so much and keep up the amazing work!!!

wildefranz

Just a quick thanks for producing such wonderful themes. I can’t tell you how much I appreciate the amount of time, skill and craftsmanship that wen’t into these. The detail is incredible, every corner I peak into I find something that surprises me. And the documentation, it’s extremely well written and very easy to follow.

Well done,

Ed

Great Support !!! & very powefull WP Theme… Super Flexible %100 recommended

JavierDesigns

PrevNext

Join The Mailing List

Powered By
Powered By WordPress Logo Powered By PayPal Logo Powered By Mysitemyway Logo Powered By Firehost Logo
Follow Us
Mysitemyway RSS Mysitemyway Facebook Mysitemyway Twitter
© 2011 Mysitemyway. All Rights Reserved.
Privacy Policy | Terms & Conditions