With the definition of our function complete, we now want to open the function and close the function. Combined, they can look like this: Do not add the background-position: The page is the area that will contain our actual content, which in this case is the menu bar that we will be creating.
In order to open and close a function, you will use the opening and closing curly braces that look just like this: We know it can be intimidating to create your own custom function in PHP, but we are here to help break it down for you.
This will match the height and colour of your menu background, extending it across the width of your site. As always, your imagination can take any of the examples here as wild as you can imagine!
The ribbon file used for this nav background was created in a very simple graphics program — Adobe Photoshop is nice, but not necessary. That would be like having a slice of chocolate cake without a glass of milk!
Original article starts here: The left-most element being first is fairly self-explanatory; the right-most element being in the middle not so much. This might seem somewhat confusing at first but it is important to know why it was done in this manner.
This tutorial is the result of that challenge. Step 2 — Adding our custom menu hook In our case, we want our totally rad menu to be displayed below our header. For simplicity, we have provided the entire code snippet below that you can use to add your awesome menu creation to your own website!
Because more than one menu can be created, the CSS styling here reflects this concept: Update — 17 July, In Thesis 1. We know this might be extremely basic for some of you, but we also know this can be extremely confusing for those not quite as familiar with writing code.
This is important because by doing so, you will be able to copy your custom code into future releases of the Thesis theme without having to change the path to all of your images.
The information on this page refers to a Thesis version that is now obsolete. As long as the height of the narrow background image exactly matches the height of your header graphic it will leave a gap at the bottom of the header area div showing the background colour. You can customize the colors, padding, hovers and everything else to make the navigation bar your own.
This is one of those times. Is anyone else getting hungry?!? A symbol or icon can create a unique look for your navigation, and each menu tab can be targeted individually, or all at once, depending on the depth of the selectors used.
Step 4 — Adding functionality to our function We have the structure of our menu created, so now it is time to actually add the code that will be responsible for creating the menu. The reason that we are doing this is because the default Thesis menu does a nifty job of creating the links for each menu item, so we might as well use that to our advantage.
You can see this code in action here.Using the hooks thesis_hook_before_header and thesis_hook_after_header won’t work, since they’ll put the navigation outside of #header but still inside #header_area (the full-width wrapper for #header). The Thesis navigation menu bar system is being dropped when Thesis is released, so you will need to switch to the WordPress nav menu system.
If you haven’t already done so, here’s the step-by-step process.
Recently I add more Thesis Theme tutorials for Thesis Theme users. This is another one tutorial for Thesis users. Already we put post for.
How to create full-width Header in Thesis ? How to create full-width Nav menu in Thesis ?. In this post I am going to show you, how to create full width Footer in Thesis Theme Styling Thesis & WordPress Nav Menus.
Directly above is a lightly edited version of this same Thesis or WordPress nav menu. As you can see, the borders are gone, the letter spacing is tightened, and the font “text transform” property has been modified to reflect a Capital Letter at the beginning of each word, instead of all letters.
Recently I add more Thesis Theme tutorials for Thesis Theme users. This is another one tutorial for Thesis users. Already we put post for How to create full-width Header in Thesis ?. In this post I am going to show you, how to create full width navigation below header in Thesis Theme Default thesis skin will comes with a fixed header and menu/navigation bar.
Here is the way how to make full width menu in thesis framework. Full width navigation bar can also be done with custom php code, here we are going to have a full width header with thesis editor in simple way.Download