Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #19103
    iuchewie
    Member

    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.

    #19112
    Sakin
    Keymaster

    @iuchewie: There is no option for that. You need to customize theme by building Child theme. This is bit complex.

    #19127
    iuchewie
    Member

    Thanks Sakin – that’s what I figured. Probably not worth it.

    #20185
    Shaura
    Member

    In the Custom CSS field i wrote:

    #branding #searchform {
    position: absolute;
    top: 172px;
    right: 3%
    }

    Works for me.

    #20186
    Shaura
    Member

    Of course, u can adjust top (and left-right) position as u like.

    #20213
    Sakin
    Keymaster

    @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.

    #20234
    Shaura
    Member

    Thanx 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?

    #20242
    Sakin
    Keymaster

    @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.

    #20247
    Shaura
    Member

    Sakin 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?

    #20252
    Sakin
    Keymaster

    @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.

    #20264
    Shaura
    Member

    Sakin, 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 🙁

    #20266
    Sakin
    Keymaster

    @Shaura: I am able to do that easily. I just copy content-single.php file in my child theme and then edit the following Code

    if ( '' != $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' );
    }
    #20271
    Shaura
    Member

    Okay 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 🙂

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Search Box In Nav Bar?’ is closed to new replies.