How can we help?

If you are looking for support for our PokaTheme, this is the place!

Home Forums Child Themes support Adding login page links to logo section of website

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #11907
    TheTipTopFox
    Participant

    Hi

    I have been able to add a login/register account page link to my top navigation bar, below the logo, but don’t like the look of it in this section.
    i would like to add the login/Register account page link to the top section of the website, below the search bar (top right) in the same section as the logo.
    what is the easiest way to do this? do i need to change code in the poka_child files? can i add some simple code to the CSS? is there an easier way to do this?

    appreciate any help you can offer

    Dan

    #11976
    admin
    Keymaster

    Hi Dan,

    From your description I believe you need to copy/paste the header layout template your are using (depending your selection in header styles theme options) to your child theme and then you can make any changes you want in your header.

    #11993
    TheTipTopFox
    Participant

    hi,

    i am not using a header layout template as far as i know, using the poka theme as it came. site looks like a lot like the pokerrake-demo page from your website.
    Logo top left social media icons top right
    search bar top right

    currently our login and register tabs are in the black navigation bar, i would like them to appear below/above the search bar in the header tab where the demo shows the social media icons.

    web site is thetiptopfox.com if you need visual reference. we are using header style 3.

    is this possible using the theme or visual settings?

    would i need to edit code in the poka theme files?

    not the most computer savvy guy so any and all help greatly appreciated

    thanks for your time

    Dan

    • This reply was modified 1 month, 3 weeks ago by TheTipTopFox.
    #12043
    admin
    Keymaster

    Hi Dan,

    PokerRake is using “Header style 3” so this is the template you need to overwrite if you plan to make any changes.
    Unfortunately this is the only way for the type of change you need to do because in this area there is no available menu.
    It isn’t that difficult, you just copy paste the style3 template to your child theme and then you add your links under the form element. (.form-inline .top-bar-search)

    #12055
    TheTipTopFox
    Participant

    thanks for response,

    i have found header-style3.php file.
    so i copy paste the text in the notepad. yes/no?
    i then add this text to functions.php file in D:\PokaTheme\pokatheme-r3.2.1\pokatheme_child.zip\pokatheme_child\ yes/no?
    and then under this line of text:-
    <div class=”col-sm-6″>
    <?php poka_social_links(); ?>
    <form action=”<?php echo esc_url( home_url() ); ?>” class=”form-inline top-bar-search” method=”get”>

    i add the links for my login and register pages yes/no?

    sorry for the questions but this is all new to me and i dont want to mess my site up

    thanks again for your help

    Dan

    #12097
    admin
    Keymaster

    Hi Dan,

    The complete steps are below:

    First you create the same folder structure in your child theme: ‘/inc/templates/’ just like it is in the parent theme.
    Then you copy/paste the template ‘header-style3.php’ in the same folder but in your child theme.
    This way you can safely make any changes you want in this template.
    In your case you can add the login/register links under the search form.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.