Viewing 8 replies - 1 through 8 (of 8 total)
  • Theme Author Richie KS

    (@rkcorp)

    add this to functions.php

    function twonewlink() { ?>
    <div style="float:right"><a href="#'>link</a><a href="#'>link2</a></div>
    <?php }
    add_action('bp_inside_main_nav','twonewlink',100);
    Thread Starter danmel65

    (@danmel65)

    Is is possible to add it right under the nav, like this:
    https://public.prestmds.com/wp-content/uploads/2014/08/Prest-Upper-Right-Nav-01.jpg

    Theme Author Richie KS

    (@rkcorp)

    use the wp-admin->appeareance->theme option->top header ads instead for that position. add your own html and link there.

    Thread Starter danmel65

    (@danmel65)

    Richie, the wp-admin worked! But it’s showing up under my header image:

    https://public.prestmds.com/

    I’d like to put the “secure portal log-in” in the upper nav bar to the far right, but when I tried adding the functions.php code, it didn’t work. Is there a specific place in functions.php it should go?

    Theme Author Richie KS

    (@rkcorp)

    add this code to wp-admin->appeareance->theme option->custom css

    #custom #topbanner {
    margin: 0;
    float: none;
    top: 20px;
    right: 0px;
    padding: 0px;
    position: absolute;
    width: auto;
    }
    Thread Starter danmel65

    (@danmel65)

    Thank you! ??

    Thread Starter danmel65

    (@danmel65)

    Shoot, that worked to get the link under the top nav on the right, but now the main content area is blank. Can you please take a look? What do you need from me to resolve?

    Theme Author Richie KS

    (@rkcorp)

    not sure but something is causing your link looping in template source, this one keep repeating

    <a rel="contact-info" title="Complete Contact Info" href="https://public.prestmds.com/faq/contact-info/"> </a>

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘want to add 2 links to far right side of main navigation’ is closed to new replies.