Jump to content
Sign in to follow this  
17sirens

Add Links Above Nav-Branding

Recommended Posts

17sirens    0
17sirens

I've search for this answer in the forum, and I haven't been able to find the right one for me. How can I add links above my banner in such a way that they are against the transparency of my background (light tan color) and *not* against the white content box that includes my banner. I'd like the links to be in the upper right hand corner for: home, about, contact Thanks in advance for your help! Here's my blog: http://17sirens.com

Share this post


Link to post
Share on other sites
catrina    103
catrina
Where is this light tan colored background coming from? Is it coming from the banner or will it be apart of the element where the links are also located (for example, a DIV layer that you're adding using a hook)?

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
17sirens    0
17sirens
Hi Catrina, The background I'm referring to is the background of the entire site. Here's what I want it to look like: [img]http://i46.tinypic.com/2gugqqh.jpg[/img] Where the links are onto of the branding container, and against the background.

Share this post


Link to post
Share on other sites
Danny    1,327
Danny
Hi, I think the best course of action would be to use the Action Map plug-in to find the correct location and then add a hook to your child themes function.php file or PageLines Customisation plug-in function.php file.

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
17sirens    0
17sirens
Hi Danny, I used the Action Map Plug-in and found the location: pagelines_before_header However, when I tried to add a hook to my function.php file, I broke my entire site. And then I had to re-upload the functions.php file through my hosting site... it was a mess. I'm not sure what to do now.

Share this post


Link to post
Share on other sites
Danny    1,327
Danny
Hi, Can you post the code you used please, so I can take a closer look!

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
17sirens    0
17sirens
I am not good with hooks, etc.. so I found this code in another thread in the forum: add_action('pagelines_before_header', 'custom_top_nav'); function custom_top_nav(){ ?> <div class="top-nav" class="fix"> <?php wp_nav_menu( array('menu' => 'Top Nav' )); ?> </div> <?php } I added that to my functions.php folder and then I added a Top Nav menu.. and then my site broke. So that's as far as I got with that.

Share this post


Link to post
Share on other sites
Danny    1,327
Danny
Hi, I added your code to a test site and it worked perfectly ? https://skitch.com/e-dannyholt/8ayaq/test-just-another-wordpress-site The menu items look like this they do as there is no styling for them. Are you still having issues ?

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
17sirens    0
17sirens
That's really weird. I'm guessing since it worked for you, that maybe I put the code in the wrong section. I put it here: Dashboard>Appearance>Editor>Base Theme: Theme Functions (functions.php) (at the bottom). Is that where the code goes?

Share this post


Link to post
Share on other sites
Rob    547
Rob
I'd recommend using the PageLines Customize plugin and adding the code to the end of the functions.php found there. The plugin is free and is installed in wp-content/plugins/pagelines-customize/.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×