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
- This topic has 5 replies, 2 voices, and was last updated 1 month, 1 week ago by
admin.
- AuthorPosts
- November 27, 2020 at 3:32 pm #11907
TheTipTopFox
ParticipantHi
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
December 4, 2020 at 11:08 am #11976admin
KeymasterHi 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.
December 4, 2020 at 6:51 pm #11993TheTipTopFox
Participanthi,
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 rightcurrently 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.
December 9, 2020 at 10:52 am #12043admin
KeymasterHi 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)December 9, 2020 at 4:14 pm #12055TheTipTopFox
Participantthanks 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
December 14, 2020 at 10:45 am #12097admin
KeymasterHi 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. - This reply was modified 1 month, 3 weeks ago by
- AuthorPosts
- You must be logged in to reply to this topic.