Tagged: Navigation Bar, search
- This topic has 12 replies, 3 voices, and was last updated 10 years, 10 months ago by Shaura.
-
AuthorPosts
-
January 9, 2014 at 10:36 pm #19103iuchewieMember
Is there a way to add the search box to the nav bar itself? Not a nav element that says “search” but the search itself.
January 9, 2014 at 11:38 pm #19112SakinKeymaster@iuchewie: There is no option for that. You need to customize theme by building Child theme. This is bit complex.
January 10, 2014 at 2:19 am #19127iuchewieMemberThanks Sakin – that’s what I figured. Probably not worth it.
February 9, 2014 at 11:20 pm #20185ShauraMemberIn the Custom CSS field i wrote:
#branding #searchform {
position: absolute;
top: 172px;
right: 3%
}Works for me.
February 9, 2014 at 11:23 pm #20186ShauraMemberOf course, u can adjust top (and left-right) position as u like.
February 10, 2014 at 10:05 am #20213SakinKeymaster@Shaura: Thanks yes you can customize the position as your like. Since, Catch Box Theme is responsive design. You need to change this position for mobile devices as well.
February 10, 2014 at 3:06 pm #20234ShauraMemberThanx Sakin. Yes, i understand this. I will do it for my site. I only gave an idea.
Sakin, may i ask how to eliminate the link to the author of the post below the text in a single post? I did this in all other parts of the template, but can’t do it in a single post (like this http://pro-rak-grudi.info/%D1%85%D0%B0%D0%BB%D0%B0%D0%B2%D0%B5%D0%BD-halaven/)/ Would u please help me?February 10, 2014 at 8:40 pm #20242SakinKeymaster@Shaura: Can you check your content.php . Looks like you have customize the theme as we don’t have author in footer entry meta in single post. We only have in header entry meta.
February 10, 2014 at 9:33 pm #20247ShauraMemberSakin thanx for your reply. Yes, i have customized it, but i still have the unnecessary link to the post author though not in all types of posts. That is straange, but i can see it, for example, here http://pro-rak-grudi.info/?p=228. If u go to the bottom of the post, u’ll see “A, Лекарства [email protected]” – which aer the category tags and author. But there is no such link in, for instance, this post http://pro-rak-grudi.info/?p=34. I can’t get, if they are formatted by different parts of template? Can u give me a proper way to eliminate this link?
February 11, 2014 at 12:09 am #20252SakinKeymaster@Shaura: Oh for that post, you can check content-single.php file where you will see
<a href="%6$s">%5$s</a>
this is for author link.February 11, 2014 at 12:49 am #20264ShauraMemberSakin, thank u for your reply. I had already tried to deal with that part. The problem is that for some reason deleting this code deletes all the links including category list. I don’t understand why 🙁
February 11, 2014 at 1:16 am #20266SakinKeymaster@Shaura: I am able to do that easily. I just copy
content-single.php
file in my child theme and then edit the following Codeif ( '' != $tag_list ) { $utility_text = __( 'This entry was posted in %1$s and tagged %2$s by <a href="%6$s">%5$s</a>. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'catchbox' ); } elseif ( '' != $categories_list ) { $utility_text = __( 'This entry was posted in %1$s by <a href="%6$s">%5$s</a>. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'catchbox' ); } else { $utility_text = __( 'This entry was posted by <a href="%6$s">%5$s</a>. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'catchbox' ); }
And changed to the following:
if ( '' != $tag_list ) { $utility_text = __( '<a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'catchbox' ); } elseif ( '' != $categories_list ) { $utility_text = __( '<a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'catchbox' ); } else { $utility_text = __( '<a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'catchbox' ); }
February 11, 2014 at 2:17 am #20271ShauraMemberOkay Sakin, with a littlebit dancing around i’ve changed the code to the necessary one :-). Thanx a lt for your advice. Your theme is very nice, i hope some day i’ll persuade my client to upgrade to Pro 🙂
-
AuthorPosts
- The topic ‘Search Box In Nav Bar?’ is closed to new replies.